/* Custom styles - Bootstrap handles most layout and typography */

body {
    background-color: #f8f9fa;
}

.container {
    max-width: 900px !important;
}

.logo {
    max-width: 100px;
    height: auto;
}

/* Tab Navigation Styles */
.nav-tabs {
    gap: 0;
    margin-bottom: 0 !important;
    position: relative;
    z-index: 2;
}

.nav-item {
    flex: 1;
    max-width: 450px;
}

.tab-logo-btn {
    background: white;
    border: 1px solid #dee2e6 !important;
    border-bottom: none !important;
    border-radius: 8px 8px 0 0;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    margin-bottom: -1px;
    width: 100%;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.tab-logo-btn.active {
    background: white;
    border-color: #dee2e6 !important;
    border-bottom-color: transparent !important;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
    z-index: 3;
    opacity: 1;
}

.tab-logo {
    display: block;
    height: auto;
}

/* Tab Content Wrapper - ensures consistent height */
.tab-content-wrapper {
    min-height: 800px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0 0 8px 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
    margin-top: -1px;
}

/* EASY Acronym Display */
.easy-acronym {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.acronym-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.acronym-row:last-child {
    margin-bottom: 0;
}

.acronym-letter {
    font-size: 3.5rem;
    font-weight: bold;
    color: #2c3e50;
    line-height: 1;
    min-width: 80px;
    text-align: center;
}

.acronym-desc {
    font-size: 1.25rem;
    color: #555;
    line-height: 1.4;
    flex: 1;
}

/* Add more padding to cards to match original design */
.card-body {
    padding: 2.5rem !important;
}

.form-container {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

/* Author photo */
.author-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

/* Hide Brevo help text */
.entry__specification {
    display: none !important;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .nav-item {
        flex: 1;
        max-width: 50%;
    }

    .tab-logo-btn {
        padding: 10px;
        min-height: 80px;
    }

    .tab-logo-rc {
        max-width: 60px;
        height: auto;
    }

    .tab-logo-easy {
        max-width: 160px;
        max-height: 60px;
        width: auto;
        height: auto;
    }

    .tab-content-wrapper {
        min-height: 600px;
        padding: 1rem;
    }

    .card-body {
        padding: 1rem !important;
    }

    .form-container {
        padding: 5px;
        background: transparent;
    }

    #sib-container {
        max-width: 100% !important;
        padding: 10px !important;
    }
}
