/* Custom styles for recommendations 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;
}

/* Recommendation Cards */
.recommendation-card {
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
    border-left: 4px solid #4a6fa0;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.recommendation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.recommendation-header h4 {
    font-size: 1.25rem;
    margin: 0;
    font-weight: 600;
}

.priority-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.priority-badge.high {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.priority-badge.medium {
    background-color: rgba(249, 115, 22, 0.1);
    color: #f97316;
}

.priority-badge.low {
    background-color: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.recommendation-content {
    margin-bottom: 20px;
}

.recommendation-content p {
    color: #555;
    line-height: 1.6;
}

.action-steps {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.action-steps h5 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #333;
}

.action-steps ul {
    margin: 0;
    padding: 0 0 0 20px;
}

.action-steps li {
    margin-bottom: 8px;
    color: #555;
    font-size: 0.85rem;
}

.action-steps li:last-child {
    margin-bottom: 0;
}

.prediction-insight {
    background-color: rgba(74, 111, 160, 0.05);
    padding: 20px;
    border-radius: 4px;
    border-left: 3px solid #4a6fa0;
}

.prediction-insight h5 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #4a6fa0;
}

.prediction-insight p {
    color: #555;
    font-size: 0.85rem;
    margin: 0;
}

/* 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;
    }
    
    .recommendation-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .priority-badge {
        margin-top: 10px;
    }
}
