/* Meeting Connector Custom Styles */

/* Login Page Customizations */
.login-box {
    width: 432px;
    /* 20% bigger than default 360px */
}

.login-box .card {
    width: 100%;
}

/* Remove padding/margin from logo area */
.login-logo-container {
    padding: 0 !important;
    margin: 0 !important;
}

.login-logo-container .card-header {
    padding: 20px !important;
    margin: 0 !important;
    border-bottom: 1px solid #dee2e6;
    background-color: transparent;
    /* Clean white background */
}

.login-logo-container img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    /* Keep the rounded corners */
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .login-box {
        width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 95%;
    }
}

/* Admin Layout Logo Adjustments */
.brand-image {
    max-height: 33px;
    width: auto;
}

/* Override AdminLTE brand-image styling for public layout */
.layout-top-nav .wrapper .main-header .brand-image {
    margin-top: 0.2rem;
    margin-right: .2rem;
    height: 45px;
    border-radius: 8px;
    /* Rounded corners */
}

/* Public Layout Styles */
.hero-section {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 4rem 0;
    border-top: 3px solid white;
    /* White separator line from navbar */
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.hero-section .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.feature-box {
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.feature-icon {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 1rem;
}

/* Navbar customizations */
.main-header.navbar {
    min-height: 66px;
    /* 10% taller than default ~60px */
    align-items: center;
    /* Vertically center all navbar content */
    padding-left: 0 !important;
    /* Remove any navbar padding */
}

.main-header.navbar .container {
    padding-left: 0 !important;
    /* Remove container left padding */
    margin-left: 0 !important;
    /* Remove auto centering */
    max-width: none !important;
    /* Remove max-width constraints */
    justify-content: flex-start !important;
    /* Left-align instead of space-between */
}

.navbar-brand {
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    height: 66px;
    /* Match navbar height */
    margin-left: 15px !important;
    /* Add breathing room from left edge */
    padding-left: 0;
    /* Remove the padding now that we have margin */
}

.navbar-brand img {
    max-height: 55px;
    /* Increased for taller navbar */
    height: auto;
    width: auto;
    padding: 0;
    margin: 0;
}

/* Ensure navbar nav items are vertically centered */
.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-item {
    display: flex;
    align-items: center;
}

.footer {
    background-color: #343a40;
    color: white;
    padding: 2rem 0;
}

.cookie-notice {
    background-color: #f8f9fa;
    border-top: 3px solid #007bff;
    padding: 1rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
}

/* Progress Steps Styling */
.progress-steps .step {
    display: flex;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    line-height: 1.4;
}

.progress-steps .step i {
    width: 20px;
    flex-shrink: 0;
}

.progress-steps .step.completed i {
    color: #28a745 !important;
}

.progress-steps .step.current i {
    color: #007bff !important;
}

.progress-steps .step.pending i {
    color: #6c757d !important;
}

/* Attendee type colors */
.badge-vendor {
    background-color: #1f7ae0;
    color: #fff;
}

.badge-buyer {
    background-color: #ffc107;
    color: #212529;
}

.badge-opened {
    background-color: rgba(40, 167, 70, 0.5);
    color: #fff;
}

.bg-vendor {
    background-color: #1f7ae0 !important;
    color: #fff;
}

.hosts-filter-button {
    white-space: nowrap;
}


.bg-buyer {
    background-color: #ffc107 !important;
    color: #212529;
}

/* Meeting requests (public) */
.attendees {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.attendee-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.attendee-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #111;
}

.attendee-header p {
    margin: 6px 0 0;
    font-size: 0.95rem;
    color: #555;
}

.attendee-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.attendee-header .attendee-name {
    color: #111;
    font-weight: 700;
}

.rating-group {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.rating-group input[type="radio"] {
    display: none;
}

.rating-group label {
    cursor: pointer;
}

.rating-group .rating-pill {
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 20px;
    background: #f9f9f9;
    transition: all 0.2s ease;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.rating-group .rating-pill .rating-star {
    font-size: 0.95rem;
    margin-left: 2px;
    line-height: 1;
}

.rating-group input[type="radio"]:checked+.rating-pill {
    background: #1f7ae0;
    color: #fff;
    border-color: #1f7ae0;
}


.rating-group input[type="radio"]:checked+.rating-pill--zero {
    background: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.attendee-body textarea {
    width: 100%;
    min-height: 70px;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 0.95rem;
}

.attendee-requests-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.attendee-requests-controls .form-group {
    min-width: 200px;
}

/* Attendee email + guest tabs */
#attendee-email-tabs .nav-link,
#attendee-guest-tabs .nav-link,
#override-tabs .nav-link,
#attendee-detail-tabs .nav-link,
#requests-report-tabs .nav-link,
#requested-report-tabs .nav-link {
    border: 1px solid #dee2e6;
    margin-right: 6px;
    border-radius: 6px 6px 0 0;
    background: #f8f9fa;
    color: #495057;
}

#attendee-email-tabs .nav-link.active,
#attendee-guest-tabs .nav-link.active,
#override-tabs .nav-link.active,
#attendee-detail-tabs .nav-link.active,
#requests-report-tabs .nav-link.active,
#requested-report-tabs .nav-link.active {
    background: #28a745;
    border-color: #28a745;
    color: #fff;
}

#attendee-email-tabs .nav-link .badge,
#attendee-guest-tabs .nav-link .badge,
#override-tabs .nav-link .badge,
#attendee-detail-tabs .nav-link .badge,
#requests-report-tabs .nav-link .badge,
#requested-report-tabs .nav-link .badge {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

#attendee-email-tabs .nav-link:not(.active) .badge,
#attendee-guest-tabs .nav-link:not(.active) .badge,
#override-tabs .nav-link:not(.active) .badge,
#attendee-detail-tabs .nav-link:not(.active) .badge,
#requests-report-tabs .nav-link:not(.active) .badge,
#requested-report-tabs .nav-link:not(.active) .badge {
    background: #e9ecef;
    color: #495057;
}

.attendee-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
}

.sticky-submit {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding: 10px 16px;
    border-top: 1px solid #ddd;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.06);
    z-index: 100;
    text-align: right;
}

.badge-opened {
    background-color: rgba(40, 167, 70, 0.6);
    color: #fff;
}

@media (max-width: 768px) {
    .sticky-submit--fixed {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 999;
    }

    body {
        padding-bottom: 70px;
    }

    .requests-table thead {
        display: none;
    }

    .requests-table,
    .requests-table tbody,
    .requests-table tr,
    .requests-table td {
        display: block;
        width: 100%;
    }

    .requests-table tr {
        border: 1px solid #dee2e6;
        border-radius: 8px;
        padding: 8px 12px;
        margin-bottom: 12px;
    }

    .requests-table td {
        border: none;
        padding: 6px 0;
    }

    .requests-table td::before {
        content: attr(data-label) ": ";
        font-weight: 600;
        display: inline-block;
        min-width: 120px;
        color: #555;
    }
}

@media (min-width: 768px) {
    .attendee-body {
        flex-direction: row;
        align-items: flex-start;
    }

    .attendee-body textarea {
        flex: 1;
    }
}
