/* Custom styles for performance page */
.analysis-tabs {
    display: flex;
    border-bottom: 1px solid #eeeeee;
    margin-bottom: 30px;
}

.tab-button {
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    color: #666666;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.tab-button.active {
    color: #333333;
    border-bottom-color: #333333;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.profile-selector-container {
    margin-bottom: 30px;
    margin-top: 0;
    position: relative;
}

.profile-search {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 10px;
}

.profile-search p {
    margin-bottom: 0;
}

.profile-search-input {
    width: 250px;
}

.profile-search-input input {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    background-color: #f8f8f8;
}

.profile-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    -ms-overflow-style: none;  /* Hide scrollbar IE and Edge */
    scrollbar-width: none;  /* Hide scrollbar Firefox */
    scroll-behavior: smooth;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.profile-selector::-webkit-scrollbar {
    display: none;
}

.profile-card {
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 15px;
    min-width: 200px;
    flex: 0 0 auto;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.profile-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.profile-card.selected {
    border-color: #333333;
}

.profile-card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.profile-card p {
    font-size: 10px;
    margin-bottom: 0;
}

.analysis-card {
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
}

.analysis-card h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eeeeee;
}

.chart-container {
    height: 300px;
    background-color: #f8f8f8;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.chart-placeholder {
    font-size: 14px;
    color: #666666;
    text-align: center;
    position: relative;
    z-index: 2;
}

.chart-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: 1;
}

.chart-visual .line {
    position: absolute;
    height: 2px;
    background-color: #333;
    opacity: 0.3;
}

.chart-visual .line-1 {
    width: 80%;
    top: 30%;
    left: 10%;
}

.chart-visual .line-2 {
    width: 80%;
    top: 50%;
    left: 10%;
}

.chart-visual .line-3 {
    width: 80%;
    top: 70%;
    left: 10%;
}

.chart-visual .point {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #333;
    opacity: 0.3;
}

.evaluation-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 4px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.evaluation-card:hover {
    background-color: #f0f0f0;
}

.evaluation-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.evaluation-info p {
    font-size: 10px;
    margin-bottom: 3px;
    color: #666666;
}

.data-summary {
    background-color: #f8f8f8;
    border-radius: 4px;
    padding: 20px;
    margin-top: 20px;
}

.data-summary h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 10px;
}

.summary-item .label {
    color: #666666;
}

.summary-item .value {
    font-weight: 500;
    color: #333333;
}

/* Disclaimer styling */
.disclaimer {
    margin-top: 0;
    margin-bottom: 0;
    padding: 8px 12px;
    background-color: #f8f8f8;
    border-radius: 4px;
    border-left: 3px solid #4a6fa0;
}

.disclaimer p {
    color: #666666;
    font-size: 10px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .profile-card {
        width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .profile-card {
        width: 100%;
    }
    
    .analysis-tabs {
        flex-direction: column;
        border-bottom: none;
    }
    
    .tab-button {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid #eeeeee;
    }
    
    .tab-button.active {
        border-bottom: 1px solid #333333;
        border-left: 3px solid #333333;
        padding-left: 21px;
    }
}