/* Authentication Styles */
:root {
    --primary-color: #9B4431;
    --secondary-color: #F1EDE1;
    --background-color: #FEFCF8;
    --text-primary: #333333;
    --text-secondary: #666666;
    --border-color: #E5E5E5;
    --white: #ffffff;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--background-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow: hidden;
    font-style: italic;
    height: 100vh;
}

/* Auth Container */
.auth-container {
    display: flex;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* Left Section */
.auth-left {
       flex: 1;
    display: flex
;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.auth-image-container {
      width: 420vh;
    height: 120vh;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    margin-left: -52vh;
}

.auth-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1;
}

.auth-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Right Section */
.auth-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: var(--secondary-color);
    overflow-y: auto;
    max-height: 100vh;
}

.auth-form-container {
    width: 100%;
    max-width: 480px;
}

/* Header */
.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,700;1,400;1,700&display=swap');

.auth-logo {
    font-size: 48px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.auth-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 38px;
    letter-spacing: 0px;
    font-style: normal;
}

.auth-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: bold;
    font-style: italic;
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-style: italic;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group input {
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 14px;
    background: var(--white);
    transition: var(--transition);
    width: 100%;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(155, 68, 49, 0.1);
}

.form-group input::placeholder {
    color: var(--text-secondary);
    font-style: italic;
}

/* Phone Input */
.phone-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.phone-prefix {
    position: absolute;
    left: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
    pointer-events: none;
}

.flag-icon {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

.phone-input-container input {
    padding-left: 60px;
    width: 100%;
}

/* Password Input */
.password-group {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}

.password-toggle:hover {
    color: var(--primary-color);
}

/* Submit Button */
.sign-up-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    width: 80%;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
    text-transform: none;
    letter-spacing: 0.5px;
    font-style: italic;
}

.sign-up-btn:hover {
    background: #8a3a2a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(155, 68, 49, 0.3);
}

.sign-up-btn:active {
    transform: translateY(0);
}

/* Footer */
.auth-footer {
    text-align: center;
    margin-top: 5px;
    font-size: 15px;
    
    color: var(--text-secondary);
    font-style: italic;
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-style: italic;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Modal Styles */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.auth-modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 400px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

.modal-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

.close-modal {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 8px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-color);
    background: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-container {
        flex-direction: column;
        height: 100vh;
        
    }
    
    .auth-left {
        flex: 0.4;
        min-height: 40vh;
        padding: 0;
         
        justify-content: center;
    }
    
    .auth-image-container {
        width: 80vw;
        height: 80vw;
        margin-left: 0;
      
        max-width: 300px;
        max-height: 300px;
    }
    
    .auth-right {
        flex: 0.6;
        padding: 20px;
        overflow-y: auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .auth-logo {
        font-size: 36px;
    }
    
    .auth-title {
        font-size: 24px;
        line-height: 30px;
    }
    
    .modal-content {
        padding: 30px 20px;
        margin: 20px;
    }
}

@media (max-width: 480px) {
    .auth-left {
        flex: 0.35;
        min-height: 35vh;
    }
    
    .auth-image-container {
        width: 70vw;
        height: 70vw;
        max-width: 250px;
        max-height: 250px;
    }
    
    .auth-right {
        flex: 0.65;
        padding: 15px;
    }
    
    .form-group input {
        padding: 12px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .phone-input-container input {
        padding-left: 55px;
    }
    
    .sign-up-btn {
        padding: 14px 20px;
    }
    
    .auth-logo {
        font-size: 32px;
    }
    
    .auth-title {
        font-size: 20px;
        line-height: 26px;
    }
}

@media (max-height: 600px) {
    .auth-right {
        padding: 20px;
    }
    
    .auth-header {
        margin-bottom: 20px;
    }
    
    .auth-form {
        gap: 15px;
    }
}

/* Loading State */
.loading .sign-up-btn {
    opacity: 0.7;
    cursor: not-allowed;
}

.loading .sign-up-btn:before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid var(--white);
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Focus Visible for Accessibility */
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Success Message */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 12px 16px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
    display: none;
}

.success-message.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Error Message */
.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 16px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
    display: none;
}

.error-message.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

/*  */
/* Custom CSS Variables */



.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background-color: var(--secondary-color);
    border-right: 1px solid var(--border-color);
    z-index: 1000;
    transition: transform 0.3s ease;
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0;
}

.sidebar-nav {
    padding: 20px 0;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background-color: var(--hover-color);
    color: var(--primary-color);
    text-decoration: none;
}

.nav-item.active {
    background-color: var(--primary-color);
    color: white;
    border-left-color: var(--primary-color);
}

.nav-item i {
    margin-right: 15px;
    font-size: 16px;
    width: 20px;
}

/* Main Content Area */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

/* Header Styles */
.header {
    background-color: var(--secondary-color);
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 999;
}

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

.sidebar-toggle {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--text-dark);
    margin-right: 20px;
    cursor: pointer;
    display: none;
}

.page-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

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

.language-selector select {
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: 6px;
    background-color: white;
}

.notification-icon {
    position: relative;
    cursor: pointer;
}

.notification-icon i {
    font-size: 18px;
    color: var(--text-light);
}

.notification-icon .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
}

.profile-dropdown {
    position: relative;
}

.profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid var(--border-color);
}

.profile-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    min-width: 150px;
    display: none;
    z-index: 1001;
}

.profile-menu.show {
    display: block;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: var(--text-dark);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.profile-menu-item:hover {
    background-color: var(--hover-color);
    text-decoration: none;
    color: var(--text-dark);
}

.profile-menu-item i {
    margin-right: 10px;
    width: 16px;
}

.profile-menu-item.logout {
    color: var(--primary-color);
}

/* Content Area */
.content-area {
    padding: 30px;
}

/* Summary Cards */
.summary-card {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    height: 100px;
}

.summary-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(155, 68, 49, 0.1);
}

.card-icon {
    background-color: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 20px;
}

.card-info h3 {
    font-size: 28px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.card-info p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

/* Calendar Styles */
.calendar-container {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
}

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

.calendar-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.calendar-actions {
    display: flex;
    gap: 10px;
}

.calendar-actions .btn {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 6px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #7d3829;
    border-color: #7d3829;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.calendar-nav h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background-color: var(--border-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.calendar-day {
    background-color: white;
    padding: 15px 10px;
    text-align: center;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.calendar-day.header {
    background-color: var(--secondary-color);
    font-weight: 600;
    color: var(--text-light);
    min-height: 40px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-day.other-month {
    color: var(--text-light);
    background-color: #f8f9fa;
}

.calendar-day.today {
    background-color: var(--primary-color);
    color: white;
}

.day-number {
    font-weight: 600;
    margin-bottom: 5px;
}

.calendar-event {
    background-color: #d4edda;
    color: #155724;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    margin-top: 2px;
}

.calendar-event.pink {
    background-color: #f8d7da;
    color: #721c24;
}

/* Chart Containers */
.chart-container {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    height: 100%;
}

.chart-container.pie-chart {
    height: 400px;
    position: relative;
}

.chart-container.bar-chart {
    height: auto;
}

#pieChart {
    width: 180px !important;
    height: 180px !important;
    max-width: 100%;
}

.chart-container.pie-chart {
    display: flex;
    flex-direction: column;
    height: 400px;
}

.chart-container.pie-chart h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.pie-chart-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
}

.pie-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.legend-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 13px;
}

.legend-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.legend-text {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 13px;
}

.legend-percentage {
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 600;
}

.legend-badges {
    display: flex;
    align-items: center;
    gap: 8px;
}

.s3-badge {
    background: #ff69b4;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 8px;
    text-transform: uppercase;
}

#barChart {
    width: 100% !important;
    height: 294px !important;
    max-width: 1437px;
}

.chart-container h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

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

.chart-filter {
    width: auto;
    min-width: 100px;
}

/* Upcoming Events */
.upcoming-events-container {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    height: 400px;
    display: flex;
    flex-direction: column;
}

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

.events-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.header-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.featured-event {
    background-color: var(--secondary-color);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.event-label {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 5px;
}

.event-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background-color: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.event-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
}

.event-details {
    flex: 1;
}

.event-details h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.event-subtitle {
    font-size: 11px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress {
    flex: 1;
    height: 4px;
    background-color: #e9ecef;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.progress-text {
    font-size: 11px;
    color: var(--text-dark);
    font-weight: 500;
    min-width: 35px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .sidebar-toggle {
        display: block;
    }

    .header {
        padding: 0 15px;
    }

    .content-area {
        padding: 20px 15px;
    }

    .pie-chart-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    #pieChart {
        width: 150px !important;
        height: 150px !important;
    }

    .legend-item {
        padding: 6px 10px;
        font-size: 12px;
    }

    .events-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .header-avatar {
        width: 40px;
        height: 40px;
        position: static;
        border: 2px solid white;
    }

    .chart-container.pie-chart,
    .upcoming-events-container {
        height: auto;
        min-height: 350px;
    }
}

/* Events Module Styles */
.events-module {
    padding: 20px 0;
}

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

.events-header-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.events-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 35px 8px 12px;
    font-size: 14px;
    width: 200px;
}

.search-box i {
    position: absolute;
    right: 12px;
    color: #666;
}

.add-event-btn {
    background-color: var(--primary-color);
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    color: white;
    font-weight: 500;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.event-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.event-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-card-content {
    padding: 16px;
}

.event-type {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.event-type-label {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-icons {
    display: flex;
    gap: 8px;
}

.event-icons i {
    font-size: 14px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.event-icons i:hover {
    background-color: #f8f9fa;
}

.event-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.event-date {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 4px;
}

.event-schedule {
    font-size: 12px;
    color: var(--text-light);
    margin: 0;
}

/* Event Detail View */
.event-detail-view {
    padding: 20px 0;
}

.event-detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.back-btn {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 16px;
    background: white;
    color: var(--text-dark);
    font-size: 14px;
}

.event-tabs .nav {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

.event-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    background: none;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.event-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.event-tabs .nav-link:hover {
    color: var(--primary-color);
}

/* Guest List Styles */
.guest-list-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.guest-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.guest-list-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.guest-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.export-btn {
    background-color: #28a745;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.guest-table-wrapper {
    overflow-x: auto;
    margin-bottom: 20px;
}

.guest-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.guest-table th {
    background-color: #f8f9fa;
    color: var(--text-dark);
    font-weight: 600;
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    white-space: nowrap;
}

.guest-table td {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.guest-table tbody tr:hover {
    background-color: #f8f9fa;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.invited {
    background-color: #e8f5e8;
    color: #28a745;
}

.status-badge.send-invite {
    background-color: #e3f2fd;
    color: #2196f3;
    border: 1px solid #2196f3;
}

.response-attending {
    color: #28a745;
    font-weight: 500;
}

.response-not-attending {
    color: #dc3545;
    font-weight: 500;
}

.response-no-response {
    color: #2196f3;
    font-weight: 500;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.action-btn {
    border: none;
    background: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.action-btn:hover {
    background-color: #f0f0f0;
}

.delete-btn i {
    color: #dc3545;
}

.edit-btn i {
    color: #28a745;
}

.table-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.pagination-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-light);
}

.pagination-info select {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 14px;
}

.pagination-controls {
    display: flex;
    gap: 8px;
}

.pagination-controls button {
    border: 1px solid #ddd;
    background: white;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.pagination-controls button:hover {
    background-color: #f8f9fa;
}

/* Responsive Design for Events */
@media (max-width: 768px) {
    .events-header-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .events-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .search-box input {
        width: 150px;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .guest-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .guest-list-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .table-pagination {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .event-tabs .nav {
        flex-wrap: wrap;
    }

    .event-tabs .nav-link {
        padding: 8px 12px;
        font-size: 13px;
    }
}

    .calendar-actions {
        flex-direction: column;
        gap: 5px;
    }

    .calendar-actions .btn {
        width: 100%;
    }

    .chart-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .header-right {
        gap: 10px;
    }

    .language-selector {
        display: none;
    }


@media (max-width: 576px) {
    .calendar-day {
        min-height: 60px;
        padding: 10px 5px;
    }

    .calendar-event {
        font-size: 8px;
        padding: 1px 3px;
    }

    .summary-card {
        padding: 20px;
        height: auto;
    }

    .card-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .card-info h3 {
        font-size: 24px;
    }
}

/* Animation for smooth transitions */
.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

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