* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
    color: #fff;
    position: relative;
}

/* Subtle background image overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('group-photo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.08;
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

header h1 {
    font-size: 2.5rem;
    color: #ffd700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

header h2 {
    font-size: 1.5rem;
    color: #e0e0e0;
    font-weight: 300;
}

#auth-section {
    text-align: center;
    margin-bottom: 2rem;
}

.access-request-msg {
    margin-top: 1rem;
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.4;
    color: #e6e6e6;
}

.access-request-msg a {
    color: #ffd700;
    font-size: 1.15em;
    font-weight: 700;
    text-decoration: none;
}

.access-request-msg a:hover {
    text-decoration: underline;
}

.btn {
    padding: 12px 32px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
    color: #1a1a2e;
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-admin {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    font-weight: 600;
    border: 1px solid rgba(220, 38, 38, 0.6);
}

.btn-admin:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

/* Admin Modal Styles */
.admin-modal-content {
    max-width: 500px;
}

.admin-description {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.admin-links-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-link-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.admin-link-item .btn {
    width: 100%;
    text-align: center;
}

.admin-link-description {
    color: #6b7280;
    font-size: 0.85rem;
    padding-left: 0.5rem;
}

/* Shop Styles */
.shop-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

.shop-item-card {
    background: linear-gradient(135deg, #1e1e3f 0%, #2d2d5a 100%);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(201, 162, 39, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.shop-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(201, 162, 39, 0.15);
}

.shop-item-image-container {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.shop-item-image-container:hover .image-zoom-hint {
    opacity: 1;
}

.shop-item-image-container:hover .shop-item-image {
    transform: scale(1.05);
}

.image-zoom-hint {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.shop-item-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.shop-item-image-placeholder {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.1) 0%, rgba(201, 162, 39, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

/* Image Preview Modal */
.image-preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.image-preview-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 2001;
}

.image-preview-close:hover {
    color: #c9a227;
}

.image-preview-content {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.image-preview-caption {
    color: #fff;
    font-size: 1.1rem;
    margin-top: 15px;
    text-align: center;
}

.shop-item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.shop-item-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #c9a227;
    margin-bottom: 1rem;
}

.shop-item-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.shop-item-actions .btn {
    width: 100%;
}

.shop-item-actions .delete-item-btn {
    font-size: 0.8rem;
    padding: 0.3rem 0.5rem;
}

/* Shop Modal Styles */
.shop-modal-content {
    max-width: 500px;
}

.cart-modal-content {
    max-width: 600px;
}

.add-to-cart-modal-content {
    max-width: 400px;
}

.item-image-preview {
    margin-top: 0.5rem;
}

.item-image-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.sizes-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.size-checkbox {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 0.9rem;
}

.size-checkbox:hover {
    background: rgba(201, 162, 39, 0.15);
}

.size-checkbox input[type="checkbox"] {
    accent-color: #c9a227;
    width: 16px;
    height: 16px;
}

.size-checkbox input[type="checkbox"]:checked + span,
.size-checkbox:has(input:checked) {
    color: #c9a227;
}

.cart-items-list {
    max-height: 400px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(201, 162, 39, 0.1);
}

.cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
}

.cart-item-image-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    background: rgba(201, 162, 39, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
}

.cart-item-meta {
    font-size: 0.85rem;
    color: #9ca3af;
}

.cart-item-price {
    font-weight: 600;
    color: #c9a227;
    font-size: 1.1rem;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem;
    transition: transform 0.2s ease;
}

.cart-item-remove:hover {
    transform: scale(1.2);
}

.cart-total {
    padding: 1rem;
    background: rgba(201, 162, 39, 0.1);
    border-radius: 8px;
    text-align: right;
    margin-top: 1rem;
    font-size: 1.25rem;
    color: #c9a227;
}

.add-to-cart-item-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.add-to-cart-item-info img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.add-to-cart-item-info .item-details {
    flex: 1;
}

.add-to-cart-item-info .item-name {
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
}

.add-to-cart-item-info .item-price {
    color: #c9a227;
    font-weight: 600;
}

@media (max-width: 600px) {
    .shop-items-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        flex-wrap: wrap;
    }
    
    .cart-item-price {
        width: 100%;
        text-align: right;
        margin-top: 0.5rem;
    }
}

.admin-event-modal h3 {
    color: #ef4444;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.top-actions-box {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    margin-top: 0.5rem;
}

#user-info {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #a0a0a0;
}

#user-info span {
    color: #ffd700;
    font-weight: 600;
}

#loading {
    text-align: center;
    padding: 3rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 215, 0, 0.2);
    border-top-color: #ffd700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.error {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
    color: #ff6b6b;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Executive Team Header */
.exec-team-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.1) 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    flex-wrap: wrap;
    gap: 0.75rem;
    grid-column: 1 / -1; /* Span full width of grid */
    margin: 0.5rem 0;
}

.exec-team-header h3 {
    margin: 0;
    color: #fca5a5;
    font-size: 1.1rem;
    font-weight: 600;
}

#toggle-all-members-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

#toggle-all-members-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Search Box Styles */
.search-container {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

#notes-search {
    padding: 12px 16px;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    width: 300px;
    max-width: 100%;
}

#notes-search:focus {
    outline: none;
    border-color: #ffd700;
}

#notes-search::placeholder {
    color: #a0a0a0;
}

.search-status {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #a0a0a0;
}

.search-status.has-results {
    color: #4ade80;
}

.member-card.search-match {
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.member-card.search-hidden {
    display: none;
}

#members-count {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #a0a0a0;
}

#members-count span {
    color: #ffd700;
    font-weight: 600;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.member-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.member-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* News Card Styles */
.news-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 183, 0, 0.1) 100%);
    border: 2px solid #ffd700;
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto 1rem;
}

.news-card:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.25) 0%, rgba(255, 183, 0, 0.2) 100%);
    border-color: #ffed4a;
}

.news-card .member-name {
    color: #ffd700;
    font-size: 1.3rem;
    font-weight: 600;
}

.news-archive-btn {
    margin-top: 1rem;
    font-size: 0.85rem;
}

/* Spotlight Member Card Styles */
.spotlight-card {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.15) 0%, rgba(79, 70, 229, 0.1) 100%);
    border: 2px solid #a855f7;
    grid-column: 1 / -1;
    max-width: 450px;
    margin: 0 auto 1rem;
    padding: 1.5rem 2rem;
}

.spotlight-card:hover {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.25) 0%, rgba(79, 70, 229, 0.2) 100%);
    border-color: #c084fc;
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(147, 51, 234, 0.3);
}

.spotlight-header {
    margin-bottom: 1rem;
}

.spotlight-label {
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spotlight-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2.5rem;
    font-weight: 600;
    color: white;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(147, 51, 234, 0.4);
}

.spotlight-avatar.is-loading {
    position: relative;
    color: transparent;
}

.spotlight-avatar.is-loading::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 28px;
    border: 3px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spotlightAvatarSpin 0.8s linear infinite;
}

@keyframes spotlightAvatarSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spotlight-avatar.has-photo {
    background: transparent;
    border: 4px solid #a855f7;
}

.spotlight-avatar .avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spotlight-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #e9d5ff;
    margin-bottom: 0.75rem;
}

.spotlight-tags {
    margin-top: 0.75rem;
}

.tag-spotlight {
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    color: white;
}

.tag-business {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    color: #1a1a2e;
    font-weight: 700;
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
    border: 2px solid #ffd700;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    animation: businessPulse 2s ease-in-out infinite;
}

@keyframes businessPulse {
    0%, 100% { box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3); }
    50% { box-shadow: 0 4px 16px rgba(255, 215, 0, 0.5); }
}

.member-business-tag {
    margin-top: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.news-preview {
    font-size: 0.85rem;
    color: #e0e0e0;
    margin-top: 0.75rem;
    line-height: 1.5;
    text-align: left;
    white-space: pre-wrap;
}

.member-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a2e;
    overflow: hidden;
}

.member-avatar.has-photo {
    background: transparent;
    border: 3px solid #ffd700;
}

.member-avatar .avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.member-name {
    font-size: 1.1rem;
    color: #fff;
}

.member-email {
    font-size: 0.75rem;
    color: #a0a0a0;
    margin-top: 0.5rem;
    word-break: break-all;
    line-height: 1.3;
}

.member-phone {
    font-size: 0.75rem;
    color: #4ade80;
    margin-top: 0.25rem;
}

.member-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    justify-content: center;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.6rem;
    font-size: 0.7rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-call {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
}

.btn-call:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    transform: scale(1.05);
}

.btn-text {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.btn-text:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: scale(1.05);
}

/* New Applicant Badge */
.applicant-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-top: 0.25rem;
    display: inline-block;
    text-align: center;
}

/* Application Data Button */
.btn-application-data {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 0.5rem;
    border: none;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    transition: all 0.2s ease;
    width: 100%;
}

.btn-application-data:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.modal-contact-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.modal-contact-actions .btn-action {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

@media (max-width: 600px) {
    header h1 {
        font-size: 1.8rem;
    }
    
    header h2 {
        font-size: 1.2rem;
    }
    
    .members-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: #a0a0a0;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #ffd700;
}

.modal-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
}

.btn-close-modal {
    background: linear-gradient(135deg, #4a4a6a 0%, #3a3a5a 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-close-modal:hover {
    background: linear-gradient(135deg, #5a5a7a 0%, #4a4a6a 100%);
    border-color: #ffd700;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a2e;
    flex-shrink: 0;
    overflow: hidden;
}

.modal-avatar.has-photo {
    background: transparent;
    border: 3px solid #ffd700;
}

.modal-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.modal-title h3 {
    color: #ffd700;
    margin-bottom: 0.25rem;
}

.modal-title p {
    color: #a0a0a0;
    font-size: 0.9rem;
}

.modal-body label {
    display: block;
    color: #ffd700;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.modal-body textarea {
    width: 100%;
    min-height: 150px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
}

.modal-body textarea:focus {
    outline: none;
    border-color: #ffd700;
}

.modal-body textarea[readonly] {
    background: rgba(255, 255, 255, 0.02);
    cursor: default;
}

.modal-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
}

.notes-status {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #a0a0a0;
}

.notes-status.success {
    color: #4ade80;
}

.notes-status.error {
    color: #f87171;
}

.member-card {
    cursor: pointer;
}

.member-card .notes-indicator {
    font-size: 0.75rem;
    color: #ffd700;
    margin-top: 0.5rem;
}
/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: #a0a0a0;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #ffd700;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a2e;
    flex-shrink: 0;
    overflow: hidden;
}

.modal-avatar.has-photo {
    background: transparent;
    border: 3px solid #ffd700;
}

.modal-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.modal-title h3 {
    color: #ffd700;
    margin-bottom: 0.25rem;
}

.modal-title p {
    color: #a0a0a0;
    font-size: 0.9rem;
}

.modal-body label {
    display: block;
    color: #ffd700;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.modal-body textarea {
    width: 100%;
    min-height: 150px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
}

.modal-body textarea:focus {
    outline: none;
    border-color: #ffd700;
}

.modal-body textarea[readonly] {
    background: rgba(255, 255, 255, 0.02);
    cursor: default;
}

.modal-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
}

.notes-status {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #a0a0a0;
}

.notes-status.success {
    color: #4ade80;
}

.notes-status.error {
    color: #f87171;
}

.member-card {
    cursor: pointer;
}

.member-card .notes-indicator {
    font-size: 0.75rem;
    color: #ffd700;
    margin-top: 0.5rem;
}

/* Photo Upload Styles */
.modal-avatar-container {
    position: relative;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
}

.modal-avatar-container .modal-avatar {
    width: 100%;
    height: 100%;
}

.btn-edit-picture {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #1a1a2e;
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
    color: #1a1a2e;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    z-index: 10;
}

.btn-edit-picture:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
}

.photo-status {
    text-align: center;
    font-size: 0.85rem;
    color: #a0a0a0;
    margin-bottom: 1rem;
    min-height: 1.2rem;
}

.photo-status.success {
    color: #4ade80;
}

.photo-status.error {
    color: #f87171;
}

/* Phone styles */
.modal-phone {
    color: #4ade80;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

/* Tag Badge Styles */
.member-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    justify-content: center;
    margin-top: 0.5rem;
}

.tag-badge {
    display: inline-block;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 500;
    white-space: nowrap;
}

.tag-committee {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.tag-chair {
    background: linear-gradient(135deg, #ffd700 0%, #f59e0b 100%);
    color: #1a1a2e;
}

.tag-board {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
}

.tag-other {
    background: rgba(255, 255, 255, 0.2);
    color: #e0e0e0;
}

/* Tags Section in Modal */
.tags-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.tags-section label {
    display: block;
    color: #ffd700;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.tag-group {
    margin-bottom: 1rem;
}

.tag-group-label {
    display: block;
    color: #e0e0e0;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.tag-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-checkbox {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: #c0c0c0;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    transition: background 0.2s;
}

.tag-checkbox:hover {
    background: rgba(255, 255, 255, 0.1);
}

.tag-checkbox input {
    accent-color: #ffd700;
}

.tag-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.tags-status {
    font-size: 0.85rem;
    color: #a0a0a0;
}

.tags-status.success {
    color: #4ade80;
}

.tags-status.error {
    color: #f87171;
}

/* Attendance History Section */
.attendance-history-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.attendance-history-section h4 {
    color: #ffd700;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.attendance-history-list {
    max-height: 200px;
    overflow-y: auto;
}

.attendance-history-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.attendance-history-item:last-child {
    border-bottom: none;
}

.attendance-event-name {
    color: #e0e0e0;
    font-size: 0.9rem;
    flex: 1;
}

.attendance-event-date {
    color: #a0a0a0;
    font-size: 0.8rem;
    margin-left: 1rem;
    white-space: nowrap;
}

.attendance-history-list .loading,
.attendance-history-list .no-attendance {
    color: #a0a0a0;
    font-size: 0.9rem;
    text-align: center;
    padding: 0.5rem;
}

/* Quick Links Styles */
.quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.btn-quick-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 183, 0, 0.15) 100%);
    border: 1px solid rgba(255, 215, 0, 0.4);
    color: #ffd700;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    min-height: 44px;
}

.btn-quick-link:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.35) 0%, rgba(255, 183, 0, 0.25) 100%);
    border-color: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

@media (max-width: 600px) {
    .quick-links {
        gap: 0.5rem;
    }
    
    .btn-quick-link {
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
        min-height: 44px;
    }
}

/* Membership Actions Styles */
.membership-actions-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    margin-top: 0.5rem;
}

.membership-label {
    color: #60a5fa;
    font-weight: 600;
    font-size: 0.85rem;
}

.btn-membership {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #60a5fa;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-membership:hover {
    background: rgba(59, 130, 246, 0.35);
    border-color: #60a5fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

/* Committee Actions Container */
#committee-actions-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.committee-actions-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
}

.committee-label {
    color: #60a5fa;
    font-weight: 600;
    font-size: 0.85rem;
}

.btn-committee {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #60a5fa;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-committee:hover {
    background: rgba(59, 130, 246, 0.35);
    border-color: #60a5fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

/* Applicants Section */
#applicants-section {
    margin-top: 1rem;
}

.applicant-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.applicant-card:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.1) 100%);
    border-color: #60a5fa;
}

.applicant-voted-in {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(21, 128, 61, 0.08) 100%) !important;
    border-color: rgba(34, 197, 94, 0.4) !important;
}

.applicant-voted-in:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.25) 0%, rgba(21, 128, 61, 0.15) 100%) !important;
    border-color: #4ade80 !important;
}

.applicant-pending {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(185, 28, 28, 0.06) 100%) !important;
    border-color: rgba(239, 68, 68, 0.35) !important;
}

.applicant-pending:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.22) 0%, rgba(185, 28, 28, 0.12) 100%) !important;
    border-color: #f87171 !important;
}

.applicant-date {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 0.25rem;
}

.applicant-info {
    font-size: 0.8rem;
    color: #a0a0a0;
    margin-top: 0.25rem;
}

.applicant-info strong {
    color: #60a5fa;
}

/* Checkpoint Progress Visualization */
.checkpoint-progress {
    margin-top: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.checkpoint-dots {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.checkpoint-dot {
    font-size: 0.7rem;
    opacity: 0.3;
    filter: grayscale(100%);
    transition: all 0.2s ease;
}

.checkpoint-dot.completed {
    opacity: 1;
    filter: grayscale(0%);
}

.checkpoint-bar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    height: 6px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.checkpoint-bar-fill {
    background: linear-gradient(90deg, #10b981, #34d399);
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.checkpoint-count {
    font-size: 0.7rem;
    color: #9ca3af;
    display: block;
    text-align: center;
}

.btn-edit-checkpoints {
    margin-top: 0.5rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 6px;
    color: #60a5fa;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.btn-edit-checkpoints:hover {
    background: rgba(59, 130, 246, 0.3);
    border-color: #60a5fa;
}

/* Checkpoint Edit Modal */
.checkpoint-modal-content {
    max-width: 400px;
}

.checkpoint-modal-subtitle {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.checkpoint-modal-subtitle strong {
    color: #fff;
}

.checkpoint-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.checkpoint-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkpoint-checkbox-label:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.checkpoint-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #10b981;
    cursor: pointer;
}

.checkpoint-icon {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.checkpoint-label-text {
    color: #e0e0e0;
    font-size: 0.95rem;
    flex: 1;
}

.checkpoint-checkbox-label:has(input:checked) {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.checkpoint-checkbox-label:has(input:checked) .checkpoint-label-text {
    color: #34d399;
}

.checkpoint-modal-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.checkpoint-save-status {
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    text-align: center;
}

.checkpoint-save-status.saving {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
}

.checkpoint-save-status.success {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
}

.checkpoint-save-status.error {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
}

/* Help Section Styles */
#help-section {
    margin-top: 1rem;
}

.help-content {
    display: grid;
    gap: 1rem;
}

.help-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.25rem;
}

.help-card h4 {
    color: #ffd700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.help-card p {
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.help-card strong {
    color: #fff;
}

.help-version {
    margin-top: 1rem;
    text-align: right;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
}

/* Calendar Section Styles */
#calendar-section {
    margin-top: 1rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-header h3 {
    font-size: 1.5rem;
    color: #ffd700;
    margin: 0;
}

/* Past events toggle button */
.btn-past-events {
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 0.5rem;
}

.btn-past-events:hover {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
}

.btn-past-events.active {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.4);
}

/* Legacy RSVP/Check-In links */
.legacy-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    flex-wrap: wrap;
}

.legacy-links-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

.legacy-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    font-size: 0.75rem;
    transition: all 0.2s ease;
}

.legacy-link:hover {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

.calendar-loading {
    text-align: center;
    padding: 2rem;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.event-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
    border-left: 3px solid #ffd700;
}

.event-date-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
    color: #1a1a2e;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    min-width: 60px;
    text-align: center;
    font-weight: 600;
    margin-right: 1rem;
    float: left;
}

.event-date-badge .month {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-date-badge .day {
    font-size: 1.5rem;
    line-height: 1;
}

.event-date-badge .weekday {
    font-size: 0.65rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.event-details {
    overflow: hidden;
}

.event-title {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.event-time {
    font-size: 0.9rem;
    color: #ffd700;
    margin-bottom: 0.25rem;
}

.event-location {
    font-size: 0.85rem;
    color: #a0a0a0;
    margin-bottom: 0.5rem;
}

.event-dialin {
    background: rgba(0, 120, 212, 0.15);
    border: 1px solid rgba(0, 120, 212, 0.3);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.dialin-link {
    color: #60a5fa;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.dialin-link:hover {
    color: #93c5fd;
    text-decoration: underline;
}

.conf-id {
    color: #9ca3af;
    font-size: 0.8rem;
    font-family: monospace;
}

.maps-link {
    display: inline-block;
    margin-left: 0.5rem;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.maps-link:hover {
    opacity: 1;
}

.btn-download-ics {
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #ffd700;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.btn-download-ics:hover {
    background: rgba(255, 215, 0, 0.25);
    border-color: #ffd700;
}

.event-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.event-actions .btn-download-ics {
    margin-top: 0;
}

.btn-rsvp {
    background: rgba(147, 51, 234, 0.2);
    border: 1px solid rgba(147, 51, 234, 0.4);
    color: #a855f7;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-rsvp:hover {
    background: rgba(147, 51, 234, 0.35);
    border-color: #a855f7;
    color: #c084fc;
}

.btn-checkin {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #4ade80;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-checkin:hover {
    background: rgba(34, 197, 94, 0.35);
    border-color: #4ade80;
    color: #86efac;
}

.checked-in-badge {
    display: inline-block;
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #4ade80;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.rsvp-badge {
    display: inline-block;
    background: rgba(147, 51, 234, 0.2);
    border: 1px solid rgba(147, 51, 234, 0.4);
    color: #a855f7;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.event-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Clickable badges */
.clickable-badge {
    cursor: pointer;
    transition: all 0.2s ease;
}

.clickable-badge:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* Attendees Modal */
.attendees-modal-content {
    max-width: 400px;
    max-height: 70vh;
    overflow-y: auto;
}

.attendees-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.attendee-item {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.attendee-item:hover {
    background: rgba(201, 162, 39, 0.15);
    transform: translateX(4px);
}

.attendee-name {
    font-weight: 600;
    color: #fff;
    font-size: 0.95rem;
}

.attendee-email {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
}

.no-attendees {
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    padding: 1rem;
}

/* Check-in Popup Styles */
.checkin-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease;
}

.checkin-popup {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #c9a227;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: popIn 0.3s ease;
}

.checkin-popup .checkin-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.checkin-popup h3 {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.checkin-popup p {
    color: #e0e0e0;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.checkin-popup-close {
    padding: 0.75rem 2rem;
    font-size: 1rem;
}

@keyframes popIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Service Hours Popup Styles */
.service-hours-link {
    color: #a855f7;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.service-hours-link:hover {
    color: #c084fc;
    text-decoration: underline;
}

.service-hours-popup {
    max-width: 500px;
    text-align: left;
}

.service-hours-popup h3 {
    text-align: center;
}

.service-hours-content {
    text-align: left;
}

.service-hours-content p {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.service-hours-content ul {
    margin: 0.5rem 0 1rem 1.5rem;
    padding: 0;
}

.service-hours-content li {
    color: #e0e0e0;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
    line-height: 1.4;
}

.service-hours-note {
    font-size: 0.9rem !important;
    color: #4ade80 !important;
    font-style: italic;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-join-teams {
    background: rgba(98, 100, 167, 0.25);
    border: 1px solid rgba(98, 100, 167, 0.5);
    color: #8b8eff;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-join-teams:hover {
    background: rgba(98, 100, 167, 0.4);
    border-color: #8b8eff;
    color: #a5a7ff;
}

.btn-more-details {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-more-details:hover {
    background: rgba(34, 197, 94, 0.25);
    border-color: #4ade80;
    color: #86efac;
}

.btn-delete-event {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.btn-delete-event:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: #ef4444;
    color: #fca5a5;
}

/* Event Modal Styles */
.event-modal-content {
    max-width: 500px;
    width: 95%;
}

.event-modal-content h3 {
    color: #ffd700;
    margin-bottom: 0.25rem;
}

.event-modal-subtitle {
    color: #a0a0a0;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

#event-form .form-group {
    margin-bottom: 1rem;
}

#event-form label {
    display: block;
    color: #e0e0e0;
    margin-bottom: 0.4rem;
    font-weight: 500;
}

#event-form input[type="text"],
#event-form input[type="url"],
#event-form input[type="date"],
#event-form input[type="time"],
#event-form textarea {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    box-sizing: border-box;
}

#event-form input:focus,
#event-form textarea:focus {
    outline: none;
    border-color: #ffd700;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

#event-form input[type="file"] {
    padding: 0.5rem 0;
    color: #a0a0a0;
}

.flyer-preview {
    margin-top: 0.5rem;
}

.flyer-preview img {
    max-width: 200px;
    max-height: 150px;
    border-radius: 6px;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.form-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.form-actions .btn {
    flex: 1;
}

.event-submit-status {
    margin-top: 1rem;
    padding: 0.5rem;
    text-align: center;
    border-radius: 6px;
    color: #a0a0a0;
}

.event-submit-status.success {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.event-submit-status.error {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

/* Member-Submitted Event Styles */
.member-submitted-event {
    border-left: 4px solid #a855f7;
}

.member-event-badge {
    display: inline-block;
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.event-description {
    font-size: 0.85rem;
    color: #c0c0c0;
    margin: 0.5rem 0;
    line-height: 1.4;
    white-space: pre-wrap;
}

.event-flyer {
    margin: 0.75rem 0;
}

.event-flyer img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    border: 2px solid rgba(168, 85, 247, 0.4);
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
    min-height: 50px;
    background: rgba(168, 85, 247, 0.1);
}

.event-flyer img[src=""] {
    display: block;
    min-height: 80px;
    background: linear-gradient(90deg, rgba(168, 85, 247, 0.1) 25%, rgba(168, 85, 247, 0.2) 50%, rgba(168, 85, 247, 0.1) 75%);
    background-size: 200% 100%;
    animation: flyerLoading 1.5s infinite;
}

@keyframes flyerLoading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.event-flyer img:hover {
    transform: scale(1.02);
    border-color: #a855f7;
}

.header-buttons {
    display: flex;
    gap: 0.5rem;
}

.no-events {
    text-align: center;
    padding: 3rem;
    color: #a0a0a0;
    font-size: 1.1rem;
}

/* Committee Notes Section */
#notes-section {
    margin-top: 1rem;
}

.notes-feed {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.note-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(124, 58, 237, 0.05) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.2s ease;
}

.note-card:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(124, 58, 237, 0.1) 100%);
    border-color: #a78bfa;
}

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.note-author {
    font-weight: 600;
    color: #a78bfa;
    font-size: 0.95rem;
}

.note-date {
    font-size: 0.8rem;
    color: #9ca3af;
}

.note-content {
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}

.note-actions {
    margin-top: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    display: flex;
    justify-content: flex-end;
}

.btn-danger {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: #f87171;
}

.note-modal-content {
    max-width: 500px;
}

.note-modal-content textarea {
    width: 100%;
    min-height: 120px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    padding: 0.75rem;
    font-size: 0.95rem;
    resize: vertical;
}

.note-modal-content textarea:focus {
    outline: none;
    border-color: #a78bfa;
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
}

/* ============ Students/Mentoring Section ============ */

/* Mentoring Actions Box */
.mentoring-actions-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(22, 163, 74, 0.1) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-top: 0.75rem;
}

.mentoring-label {
    color: #4ade80;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-mentoring {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.btn-mentoring:hover {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    transform: translateY(-1px);
}

/* Students Section */
#students-section {
    margin-top: 1rem;
}

.students-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

/* Student Card */
.student-card {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(22, 163, 74, 0.05) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.student-card:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(22, 163, 74, 0.1) 100%);
    border-color: #4ade80;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.2);
}

.student-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 50%;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    font-weight: 600;
}

.student-name {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.student-grade {
    font-size: 0.8rem;
    color: #22c55e;
    font-weight: 500;
}

.student-school {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}

.student-program-tag {
    display: inline-block;
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    margin-top: 0.5rem;
}

/* Student Modal */
.student-modal-content {
    max-width: 500px;
}

.student-modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.student-modal-header .student-avatar {
    width: 70px;
    height: 70px;
    font-size: 1.5rem;
    margin: 0;
}

.student-modal-title h3 {
    color: #ffffff;
    margin: 0 0 0.25rem 0;
    font-size: 1.25rem;
}

.student-program-badge {
    display: inline-block;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    margin: 0;
}

.student-modal-body {
    max-height: 50vh;
    overflow-y: auto;
}

.student-info-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.student-info-section h4 {
    color: #22c55e;
    font-size: 0.9rem;
    margin: 0 0 0.75rem 0;
}

.student-info-section p {
    color: #d1d5db;
    font-size: 0.85rem;
    margin: 0.4rem 0;
    line-height: 1.4;
}

.student-info-section p strong {
    color: #9ca3af;
}

.student-info-section p span {
    color: #ffffff;
}

.phone-with-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.phone-actions {
    display: inline-flex;
    gap: 0.25rem;
    margin-left: 0.5rem;
}

.btn-phone {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-phone:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: scale(1.05);
}

/* Edit Student Modal */
.edit-student-modal-content {
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
}

.edit-student-modal-content h3 {
    margin-bottom: 1rem;
    color: #f59e0b;
}

.edit-student-modal-content h4 {
    margin: 1.5rem 0 0.75rem 0;
    color: #10b981;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.student-modal-actions {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.student-modal-actions .btn {
    min-width: 120px;
}

@media (max-width: 480px) {
    .students-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .student-card {
        padding: 0.75rem;
    }
    
    .student-avatar {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .student-name {
        font-size: 0.85rem;
    }
    
    .student-modal-header {
        flex-direction: column;
        text-align: center;
    }
    
    .student-modal-body {
        max-height: 60vh;
    }
}

@media (max-width: 480px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .header-buttons {
        margin-top: 0.75rem;
        width: 100%;
    }
    
    .header-buttons .btn {
        flex: 1;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .event-date-badge {
        float: none;
        margin-bottom: 0.75rem;
    }
    
    .note-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

/* ============================================
   STUDENT PORTAL STYLES
   ============================================ */

#student-portal {
    display: none;
    text-align: center;
    padding: 2rem;
}

#student-portal h2 {
    color: #ffd700;
    font-size: 2rem;
    margin-bottom: 1rem;
}

#student-portal p {
    color: #a0a0a0;
    margin-bottom: 2rem;
}

.student-portal-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.portal-btn {
    padding: 1.5rem 2.5rem;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #2a2a4e 0%, #1a1a3e 100%);
    color: #fff;
    border: 2px solid #ffd700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.portal-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
    background: linear-gradient(135deg, #3a3a6e 0%, #2a2a5e 100%);
}

.portal-btn .icon {
    font-size: 1.5rem;
}

/* Student Survey Section */
#student-survey-section {
    display: none;
    background: rgba(30, 30, 60, 0.9);
    border-radius: 16px;
    padding: 2rem;
    max-width: 600px;
    margin: 2rem auto;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.survey-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.survey-header h3 {
    color: #ffd700;
    font-size: 1.5rem;
}

.close-btn {
    background: transparent;
    border: none;
    color: #888;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #fff;
}

.survey-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.form-group label {
    color: #e0e0e0;
    font-weight: 500;
}

.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(20, 20, 40, 0.8);
    color: #fff;
    font-size: 1rem;
}

.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffd700;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

/* Star Rating */
.star-rating {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    padding: 0.5rem 0;
}

.star-rating .star {
    font-size: 2rem;
    color: #444;
    cursor: pointer;
    transition: all 0.2s ease;
}

.star-rating .star:hover,
.star-rating .star.hover {
    color: #ffd700;
    transform: scale(1.1);
}

.star-rating .star.selected {
    color: #ffd700;
}

.survey-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

/* Session Titles Modal */
#session-titles-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 1rem;
}

.session-titles-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.session-titles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.session-titles-header h3 {
    color: #ffd700;
    font-size: 1.5rem;
}

.add-session-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.add-session-form input {
    flex: 1;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(20, 20, 40, 0.8);
    color: #fff;
    font-size: 1rem;
}

.add-session-form input:focus {
    outline: none;
    border-color: #ffd700;
}

.add-session-form button {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
    color: #1a1a2e;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-session-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.session-titles-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.session-title-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(30, 30, 60, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.session-title-name {
    color: #fff;
    font-size: 1rem;
}

.session-title-name.inactive {
    color: #666;
    text-decoration: line-through;
}

.session-title-actions {
    display: flex;
    gap: 0.5rem;
}

.session-title-actions button {
    padding: 0.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.toggle-active-btn {
    background: rgba(100, 100, 100, 0.4);
    color: #888;
}

.toggle-active-btn.active {
    background: rgba(0, 200, 100, 0.3);
    color: #4ade80;
}

.toggle-active-btn:hover {
    transform: scale(1.1);
}

.delete-btn {
    background: rgba(200, 50, 50, 0.3);
    color: #f87171;
}

.delete-btn:hover {
    background: rgba(200, 50, 50, 0.5);
    transform: scale(1.1);
}

.edit-btn {
    background: rgba(100, 150, 200, 0.3);
    color: #60a5fa;
}

.edit-btn:hover {
    background: rgba(100, 150, 200, 0.5);
    transform: scale(1.1);
}

@media (max-width: 480px) {
    #student-portal h2 {
        font-size: 1.5rem;
    }
    
    .portal-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    #student-survey-section {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .star-rating .star {
        font-size: 1.75rem;
    }
    
    .session-titles-content {
        padding: 1.5rem;
    }
    
    .add-session-form {
        flex-direction: column;
    }
    
    .add-session-form button {
        width: 100%;
    }
}

/* ============================================
   SURVEY SUCCESS OVERLAY
   ============================================ */

.survey-success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.survey-success-icon {
    font-size: 6rem;
    animation: bounceIn 0.5s ease;
}

.survey-success-text {
    font-size: 1.75rem;
    color: #fff;
    margin-top: 1rem;
    font-weight: 600;
}

.survey-success-subtext {
    font-size: 1rem;
    color: #a0a0a0;
    margin-top: 0.5rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.1); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

/* ============================================
   STUDENT SURVEY HISTORY SECTION
   ============================================ */

#student-surveys-section {
    margin-top: 1rem;
}

.student-surveys-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.student-survey-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(30, 30, 60, 0.6);
    border-radius: 8px;
    border-left: 3px solid #ffd700;
}

.student-survey-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.student-survey-session {
    font-weight: 600;
    color: #fff;
}

.student-survey-date {
    font-size: 0.85rem;
    color: #888;
}

.student-survey-rating {
    color: #ffd700;
    font-size: 1.1rem;
}

.no-surveys-msg {
    color: #888;
    font-style: italic;
    padding: 0.5rem 0;
}