* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0d0d14;
    --bg-card: #1a1a24;
    --bg-card-light: #252532;
    --orange-primary: #e07a3a;
    --orange-light: #f5a05a;
    --orange-dark: #c56830;
    --text-white: #ffffff;
    --text-gray: #8a8a9a;
    --text-light: #b8b8c8;
    --border-color: #2a2a3a;
    --success: #4ade80;
    --warning: #fbbf24;
    --danger: #ef4444;
    --info: #60a5fa;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    min-height: 100vh;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    font-family: inherit;
}

input, select, textarea {
    font-family: inherit;
}

/* App Container */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* ============ SIDEBAR - Desktop ============ */
.sidebar {
    display: none;
    width: 240px;
    background-color: var(--bg-card);
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    border-right: 1px solid var(--border-color);
    z-index: 100;
}

.sidebar-header {
    padding: 25px 20px;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.logo-img {
    height: 32px;
    max-height: 32px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.logo-img.logo-lg {
    height: 40px;
    max-height: 40px;
}

.logo-img.logo-sm {
    height: 24px;
    max-height: 24px;
}

.mobile-logo .logo-img {
    height: 28px;
    max-height: 28px;
}

.about-logo .logo-img {
    height: 28px;
    max-height: 28px;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
}

.logo-text span {
    color: var(--orange-primary);
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
}

.nav-section {
    margin-bottom: 25px;
}

.nav-section-title {
    padding: 0 20px;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-gray);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.sidebar .nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-gray);
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.sidebar .nav-item:hover {
    background-color: var(--bg-card-light);
    color: var(--text-white);
}

.sidebar .nav-item.active {
    background-color: rgba(224, 122, 58, 0.1);
    color: var(--orange-primary);
    border-left-color: var(--orange-primary);
}

.sidebar .nav-icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.sidebar .nav-label {
    font-size: 14px;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background-color: var(--bg-card-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.user-info-sidebar {
    flex: 1;
}

.user-name {
    font-size: 14px;
    font-weight: 500;
}

.user-role {
    font-size: 11px;
    color: var(--text-gray);
}

/* ============ MAIN CONTENT ============ */
.main-content {
    flex: 1;
    padding: 20px;
    padding-bottom: 100px;
    max-width: 100%;
    overflow-x: hidden;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-logo .logo-icon {
    width: 35px;
    height: 35px;
    font-size: 16px;
}

.mobile-logo .logo-text {
    font-size: 16px;
}

.page-title {
    font-size: 20px;
    font-weight: 600;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notification-btn, .menu-btn {
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 20px;
    padding: 8px;
    position: relative;
}

.notification-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 8px;
    height: 8px;
    background-color: var(--danger);
    border-radius: 50%;
}

.avatar-small {
    width: 36px;
    height: 36px;
    background-color: var(--bg-card-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* ============ STATS CARDS ============ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.stat-card {
    background-color: var(--bg-card);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--border-color);
}

.stat-card.highlight {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-dark));
    border: none;
}

.stat-icon {
    width: 40px;
    height: 40px;
    background-color: var(--bg-card-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 12px;
}

.stat-card.highlight .stat-icon {
    background-color: rgba(255, 255, 255, 0.2);
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-gray);
}

.stat-card.highlight .stat-label {
    color: rgba(255, 255, 255, 0.8);
}

/* ============ SECTION ============ */
.section {
    margin-bottom: 25px;
}

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

.section-title {
    font-size: 16px;
    font-weight: 600;
}

.see-all {
    font-size: 13px;
    color: var(--orange-primary);
}

/* ============ CARDS ============ */
.card {
    background-color: var(--bg-card);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.card-subtitle {
    font-size: 12px;
    color: var(--text-gray);
}

.card-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
}

.badge-success { background-color: rgba(74, 222, 128, 0.2); color: var(--success); }
.badge-warning { background-color: rgba(251, 191, 36, 0.2); color: var(--warning); }
.badge-danger { background-color: rgba(239, 68, 68, 0.2); color: var(--danger); }
.badge-info { background-color: rgba(96, 165, 250, 0.2); color: var(--info); }
.badge-orange { background-color: rgba(224, 122, 58, 0.2); color: var(--orange-primary); }

/* Event Card */
.event-card {
    background-color: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.event-image-placeholder {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, #2a3a4a, #3a2a4a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-gray);
}

.event-content {
    padding: 15px;
}

.event-type {
    display: inline-block;
    padding: 4px 10px;
    background-color: rgba(224, 122, 58, 0.2);
    color: var(--orange-primary);
    border-radius: 20px;
    font-size: 11px;
    margin-bottom: 10px;
}

.event-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.event-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 15px;
}

.event-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-gray);
}

.event-info-item .icon {
    width: 16px;
    text-align: center;
}

.event-stats {
    display: flex;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.event-stat {
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-stat-value {
    font-size: 14px;
    font-weight: 600;
}

.event-stat-label {
    font-size: 11px;
    color: var(--text-gray);
}

/* ============ LIST ITEMS ============ */
.list-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 10px;
}

.list-item-avatar {
    width: 45px;
    height: 45px;
    background-color: var(--bg-card-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.list-item-content {
    flex: 1;
    min-width: 0;
}

.list-item-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.list-item-subtitle {
    font-size: 12px;
    color: var(--text-gray);
}

.list-item-actions {
    display: flex;
    gap: 8px;
}

.btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: transparent;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-icon:hover {
    background-color: var(--bg-card-light);
    color: var(--text-white);
}

.btn-icon.primary {
    background-color: var(--orange-primary);
    border-color: var(--orange-primary);
    color: var(--text-white);
}

/* ============ FORMS ============ */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 14px 16px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-white);
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--orange-primary);
}

.form-input::placeholder {
    color: var(--text-gray);
}

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

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238a8a9a' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

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

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--orange-primary);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: var(--orange-light);
}

.btn-secondary {
    background-color: var(--bg-card-light);
    color: var(--text-white);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-card);
}

.btn-outline {
    background-color: transparent;
    color: var(--orange-primary);
    border: 1px solid var(--orange-primary);
}

.btn-outline:hover {
    background-color: rgba(224, 122, 58, 0.1);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 10px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

/* ============ TABS ============ */
.tabs {
    display: flex;
    gap: 5px;
    background-color: var(--bg-card);
    padding: 5px;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow-x: auto;
}

.tab {
    flex: 1;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-gray);
    background-color: transparent;
    text-align: center;
    white-space: nowrap;
    transition: all 0.3s;
}

.tab.active {
    background-color: var(--orange-primary);
    color: var(--text-white);
}

/* ============ TABLE ============ */
.table-container {
    overflow-x: auto;
    margin: -15px;
    padding: 15px;
}

.table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

.table th, .table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-gray);
    text-transform: uppercase;
}

.table td {
    font-size: 14px;
}

.table tbody tr:hover {
    background-color: var(--bg-card-light);
}

/* ============ GUEST CARD (for invite list) ============ */
.guest-card {
    background-color: var(--bg-card);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid var(--border-color);
    margin-bottom: 12px;
}

.guest-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.guest-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-white);
}

.guest-info {
    flex: 1;
}

.guest-name {
    font-size: 15px;
    font-weight: 600;
}

.guest-table {
    font-size: 12px;
    color: var(--text-gray);
}

.guest-status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
}

.guest-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.guest-detail {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-gray);
}

.guest-actions {
    display: flex;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.btn-copy {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background-color: var(--bg-card-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 12px;
}

.btn-copy:hover {
    border-color: var(--orange-primary);
    color: var(--orange-primary);
}

/* ============ EMPTY STATE ============ */
.empty-state {
    text-align: center;
    padding: 40px 20px;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}

.empty-text {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

/* ============ MODAL ============ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background-color: var(--bg-card);
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 24px;
    cursor: pointer;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    display: flex;
    gap: 10px;
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

/* ============ BOTTOM NAVIGATION - Mobile ============ */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-card);
    display: flex;
    justify-content: space-around;
    padding: 12px 20px 20px;
    border-top: 1px solid var(--border-color);
    z-index: 100;
}

.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border-radius: 12px;
    color: var(--text-gray);
    transition: all 0.3s;
}

.bottom-nav .nav-item.active {
    color: var(--orange-primary);
}

.bottom-nav .nav-item.active .nav-icon-wrapper {
    background-color: var(--orange-primary);
    color: var(--text-white);
}

.nav-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s;
}

.bottom-nav .nav-label {
    font-size: 10px;
}

/* ============ FAB Button ============ */
.fab {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-white);
    box-shadow: 0 4px 20px rgba(224, 122, 58, 0.4);
    border: none;
    z-index: 50;
}

/* ============ SEARCH BAR ============ */
.search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0 15px;
    margin-bottom: 20px;
}

.search-icon {
    color: var(--text-gray);
    font-size: 16px;
}

.search-input {
    flex: 1;
    padding: 14px 0;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 14px;
}

.search-input:focus {
    outline: none;
}

.search-input::placeholder {
    color: var(--text-gray);
}

/* ============ DESKTOP STYLES ============ */
@media (min-width: 768px) {
    .sidebar {
        display: flex;
    }

    .main-content {
        margin-left: 240px;
        padding: 30px 40px;
        padding-bottom: 40px;
    }

    .bottom-nav {
        display: none;
    }

    .mobile-logo {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .fab {
        bottom: 30px;
        right: 40px;
    }

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

@media (min-width: 1024px) {
    .main-content {
        max-width: calc(100% - 240px);
        padding: 40px 50px;
    }

    .events-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .events-grid .event-card {
        margin-bottom: 0;
    }
}

@media (min-width: 1280px) {
    .events-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============ LOGIN PAGE ============ */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 400px;
    background-color: var(--bg-card);
    border-radius: 24px;
    padding: 40px 30px;
    border: 1px solid var(--border-color);
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.login-logo .logo-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
}

.login-logo .logo-text {
    font-size: 24px;
}

.login-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.login-subtitle {
    font-size: 14px;
    color: var(--text-gray);
}

.login-footer {
    text-align: center;
    margin-top: 30px;
    font-size: 13px;
    color: var(--text-gray);
}

.login-footer a {
    color: var(--orange-primary);
}

/* ============ INVITATION PAGE ============ */
.invitation-page {
    min-height: 100vh;
    padding: 0;
}

.invitation-hero {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.invitation-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2a3a4a, #3a2a4a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-gray);
}

.invitation-hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.invitation-type {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--orange-primary);
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 15px;
}

.invitation-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.invitation-names {
    font-size: 20px;
    color: var(--orange-light);
}

.invitation-content {
    padding: 25px 20px;
}

.countdown-section {
    background-color: var(--bg-card);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.countdown-title {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.countdown-item {
    background-color: var(--bg-card-light);
    border-radius: 12px;
    padding: 15px 10px;
}

.countdown-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--orange-primary);
}

.countdown-label {
    font-size: 11px;
    color: var(--text-gray);
    text-transform: uppercase;
}

.invitation-message {
    background-color: var(--bg-card);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    border-left: 4px solid var(--orange-primary);
}

.invitation-message p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
}

.invitation-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.detail-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--bg-card);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid var(--border-color);
}

.detail-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(224, 122, 58, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.detail-content h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
}

.detail-content p {
    font-size: 13px;
    color: var(--text-gray);
}

.rsvp-section {
    background-color: var(--bg-card);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
}

.rsvp-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.rsvp-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.rsvp-option {
    padding: 20px 15px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.rsvp-option:hover {
    border-color: var(--orange-primary);
}

.rsvp-option.selected {
    border-color: var(--orange-primary);
    background-color: rgba(224, 122, 58, 0.1);
}

.rsvp-option.confirm {
    border-color: var(--success);
}

.rsvp-option.confirm.selected {
    background-color: rgba(74, 222, 128, 0.1);
}

.rsvp-option.decline {
    border-color: var(--danger);
}

.rsvp-option.decline.selected {
    background-color: rgba(239, 68, 68, 0.1);
}

.rsvp-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.rsvp-label {
    font-size: 14px;
    font-weight: 500;
}

.preferences-section {
    margin-top: 25px;
}

.preference-group {
    margin-bottom: 20px;
}

.preference-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.preference-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.preference-chip {
    padding: 10px 16px;
    background-color: var(--bg-card-light);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.preference-chip:hover {
    border-color: var(--orange-primary);
}

.preference-chip.selected {
    background-color: var(--orange-primary);
    border-color: var(--orange-primary);
    color: var(--text-white);
}

.guestbook-section {
    background-color: var(--bg-card);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid var(--border-color);
}

.guestbook-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.arrival-btn {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, var(--success), #22c55e);
    border: none;
    border-radius: 16px;
    color: var(--text-white);
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* ============ CHECKBOX & RADIO CUSTOM ============ */
.checkbox-group, .radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-item, .radio-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background-color: var(--bg-card-light);
    border-radius: 10px;
    cursor: pointer;
}

.checkbox-item input, .radio-item input {
    display: none;
}

.checkbox-custom, .radio-custom {
    width: 22px;
    height: 22px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.radio-custom {
    border-radius: 50%;
}

.checkbox-item input:checked + .checkbox-custom,
.radio-item input:checked + .radio-custom {
    background-color: var(--orange-primary);
    border-color: var(--orange-primary);
}

.checkbox-item input:checked + .checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 14px;
}

.radio-item input:checked + .radio-custom::after {
    content: '';
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
}

.checkbox-label, .radio-label {
    font-size: 14px;
}

/* ============ PROGRESS BAR ============ */
.progress-bar {
    height: 8px;
    background-color: var(--bg-card-light);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--orange-primary), var(--orange-light));
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* ============ ALERT ============ */
.alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background-color: rgba(74, 222, 128, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.alert-warning {
    background-color: rgba(251, 191, 36, 0.1);
    border: 1px solid var(--warning);
    color: var(--warning);
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--danger);
    color: var(--danger);
}

.alert-info {
    background-color: rgba(96, 165, 250, 0.1);
    border: 1px solid var(--info);
    color: var(--info);
}

/* ============ TOOLTIP ============ */
.tooltip {
    position: relative;
}

.tooltip-text {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bg-card);
    color: var(--text-white);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    margin-bottom: 8px;
}

.tooltip:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* ============ MENU MODAL ============ */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-card);
    border-radius: 24px 24px 0 0;
    padding: 20px;
    padding-bottom: 40px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 201;
}

.menu-overlay.active .menu-panel {
    transform: translateY(0);
}

.menu-handle {
    width: 40px;
    height: 4px;
    background-color: var(--border-color);
    border-radius: 2px;
    margin: 0 auto 20px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 12px;
    transition: background-color 0.3s;
    cursor: pointer;
}

.menu-item:hover {
    background-color: var(--bg-card-light);
}

.menu-item-icon {
    width: 45px;
    height: 45px;
    background-color: var(--bg-card-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.menu-item-content {
    flex: 1;
}

.menu-item-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 2px;
}

.menu-item-subtitle {
    font-size: 12px;
    color: var(--text-gray);
}

/* Theme Toggle Switch */
.theme-toggle {
    position: relative;
    width: 50px;
    height: 28px;
    background-color: var(--bg-card-light);
    border-radius: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.theme-toggle.active {
    background-color: var(--orange-primary);
}

.theme-toggle::after {
    content: '🌙';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    background-color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s;
}

.theme-toggle.active::after {
    content: '☀️';
    left: calc(100% - 26px);
    background-color: white;
}

/* About Section */
.about-section {
    text-align: center;
    padding: 20px;
    border-top: 1px solid var(--border-color);
    margin-top: 15px;
}

.about-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.about-logo img {
    width: 40px;
    height: 40px;
}

.about-text {
    font-size: 12px;
    color: var(--text-gray);
    line-height: 1.5;
}

.about-text strong {
    color: var(--orange-primary);
}

/* ============ LIGHT MODE ============ */
body.light-mode {
    --bg-dark: #f5f5f7;
    --bg-card: #ffffff;
    --bg-card-light: #f0f0f2;
    --text-white: #1a1a24;
    --text-gray: #6b6b7a;
    --text-light: #4a4a5a;
    --border-color: #e0e0e5;
}

body.light-mode .logo-icon {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
}

body.light-mode .sidebar {
    box-shadow: 2px 0 10px rgba(0,0,0,0.05);
}

body.light-mode .card,
body.light-mode .stat-card,
body.light-mode .event-card,
body.light-mode .guest-card,
body.light-mode .list-item {
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

body.light-mode .bottom-nav {
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

body.light-mode .form-input,
body.light-mode .form-select,
body.light-mode .form-textarea {
    background-color: var(--bg-card-light);
}

body.light-mode .stat-card.highlight {
    color: white;
}

body.light-mode .stat-card.highlight .stat-label {
    color: rgba(255,255,255,0.8);
}

body.light-mode .guest-avatar {
    color: white;
}

body.light-mode .modal {
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

body.light-mode .menu-panel {
    box-shadow: 0 -5px 30px rgba(0,0,0,0.15);
}

body.light-mode .invitation-hero-bg {
    background: linear-gradient(135deg, #d4a574, #c49b6a);
}

body.light-mode .countdown-section,
body.light-mode .rsvp-section,
body.light-mode .guestbook-section {
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}
