/* Events In India - Professional Medical Theme */
:root {
    /* Color System */
    --primary-blue: #1e40af;
    --secondary-teal: #0891b2;
    --accent-pink: #ec4899;
    --success-green: #10b981;
    --warning-orange: #f59e0b;
    --error-red: #ef4444;
    --timer-red: #dc2626;
    
    /* Neutral Tones */
    --neutral-50: #f9fafb;
    --neutral-100: #f3f4f6;
    --neutral-200: #e5e7eb;
    --neutral-300: #d1d5db;
    --neutral-400: #9ca3af;
    --neutral-500: #6b7280;
    --neutral-600: #4b5563;
    --neutral-700: #374151;
    --neutral-800: #1f2937;
    --neutral-900: #111827;
    
    /* Spacing System (8px base) */
    --space-1: 0.25rem; /* 4px */
    --space-2: 0.5rem;  /* 8px */
    --space-3: 0.75rem; /* 12px */
    --space-4: 1rem;    /* 16px */
    --space-5: 1.25rem; /* 20px */
    --space-6: 1.5rem;  /* 24px */
    --space-8: 2rem;    /* 32px */
    --space-10: 2.5rem; /* 40px */
    --space-12: 3rem;   /* 48px */
    --space-16: 4rem;   /* 64px */
    
    /* Typography */
    --font-size-sm: 0.875rem;
    --font-size-base: 0.87rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    
    --line-height-body: 1.5;
    --line-height-heading: 1.2;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-base: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-base: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: var(--font-size-base);
    line-height: var(--line-height-body);
    color: var(--neutral-800);
    /*background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);*/
    background-color: #1355dd !important;
    min-height: 100vh;
    background-image: url('../../assets/images/background_desktop_updated.jpg');
    background-repeat: no-repeat; /* Prevents image repetition */
    background-size: auto 100%; /* Ensures image covers the entire background */
    background-position: center -55px; /* Centers the image */
}

/* Main Container */
/*.main_container {
    min-height: 100vh;
    background: 
        linear-gradient(135deg, rgba(71, 85, 105, 0.1) 0%, rgba(148, 163, 184, 0.1) 100%),
        radial-gradient(ellipse at center, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    position: relative;
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 150px;
}*/

/* Header Section */
.header_section {
    position: absolute;
    top: var(--space-6);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
}

.header_section img {
    height: 150px;
    width: 180px;
    display: inline;
}


.guinness_logo {
    width: 270px;
    height: 105px;
    margin-top: 110px;
}


/* Login Button */
.login_button_container {
    margin-top: 0px;
    margin-bottom: 0px;
}

.login_btn {
    background: linear-gradient(135deg, var(--accent-pink) 0%, #be185d 100%);
    color: white;
    border: none;
    padding: var(--space-4) var(--space-10);
    font-size: var(--font-size-xl);
    font-weight: 600;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.login_btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.login_btn:hover:before {
    left: 100%;
}

.login_btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.login_btn:active {
    transform: translateY(0);
}

.login_btn:disabled,
.login_btn.disabled {
    background: var(--neutral-400);
    cursor: not-allowed;
    transform: none;
    box-shadow: var(--shadow-sm);
}

/* Stats Section */
.stats_section {
    display: flex;
    gap: var(--space-16);
    align-items: center;
    justify-content: center;
}

.timer_container, .pledges_container {
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.timer_display {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--timer-red);
    font-family: 'Courier New', monospace;
    letter-spacing: 0.1em;
}

.pledges_label {
    font-size: var(--font-size-lg);
    font-weight: 500;
    color: var(--neutral-600);
    margin-bottom: var(--space-2);
}

.pledges_count {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--timer-red);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: modalFadeIn 0.3s ease;
}

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

.modal_content {
    background-color: white;
    margin: 4% auto;
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

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

.modal_content h2 {
    color: var(--neutral-800);
    font-size: var(--font-size-2xl);
    font-weight: 600;
    margin-bottom: var(--space-6);
    text-align: center;
}

.close {
    color: var(--neutral-400);
    float: right;
    font-size: var(--font-size-2xl);
    font-weight: bold;
    position: absolute;
    top: var(--space-4);
    right: var(--space-6);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--neutral-600);
}

/* Form Styles */
.form_group {
    margin-bottom: var(--space-5);
}

.form_group label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: 500;
    color: var(--neutral-700);
}

.form_group input[type="text"],
.form_group input[type="tel"],
.form_group input[type="password"] {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-base);
    font-size: var(--font-size-base);
    transition: all 0.3s ease;
    background: var(--neutral-50);
}

.form_group input:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form_hint {
    display: block;
    margin-top: var(--space-1);
    font-size: 0.75rem;
    color: var(--neutral-500);
    font-style: italic;
}

.form_group input.error {
    border-color: var(--error-red);
}

.form_group input.error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form_group input.success {
    border-color: var(--success-green);
}

.form_group input.success:focus {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.password_container {
    position: relative;
}

.toggle_password {
    position: absolute;
    right: var(--space-3);
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
    font-size: var(--font-size-lg);
}

.submit_btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-teal) 100%);
    color: white;
    border: none;
    padding: var(--space-4);
    font-size: var(--font-size-lg);
    font-weight: 600;
    border-radius: var(--radius-base);
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit_btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

/* Success Modal */
.success_modal, .congrats_modal {
    text-align: center;
}

.success_modal h2, .congrats_modal h2 {
    color: var(--success-green);
    margin-bottom: var(--space-4);
}

.congrats_icon {
    font-size: 4rem;
    margin-bottom: var(--space-4);
}

.success_btn, .close_congrats_btn {
    background: var(--success-green);
    color: white;
    border: none;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-base);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.success_btn:hover, .close_congrats_btn:hover {
    background: #059669;
    transform: translateY(-1px);
}

.user_details {
    background: var(--neutral-50);
    padding: var(--space-4);
    border-radius: var(--radius-base);
    margin: var(--space-4) 0;
    text-align: left;
}

.user_details p {
    margin-bottom: var(--space-2);
    font-size: var(--font-size-sm);
}

/* Pledge Page Styles */
.pledge_page {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}

.pledge_container {
    max-width: 600px;
    margin: 0 auto;
    padding: var(--space-6);
    text-align: center;
}


.pledge_image_container {
    margin-bottom: var(--space-6);
}

.pledge_image {
    width: 100%;
    max-width: 200px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.pledge_text_section {
    margin-bottom: var(--space-8);
}

.pledge_title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--neutral-800);
    margin-bottom: var(--space-4);
}

.pledge_content {
    background: white;
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-base);
    text-align: justify;
}

.pledge_content p {
    font-size: var(--font-size-lg);
    line-height: 1.7;
    color: var(--neutral-700);
    font-style: italic;
}

.recaptcha_section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}

.submit_pledge_btn {
    background: linear-gradient(135deg, var(--success-green) 0%, #059669 100%);
    color: white;
    border: none;
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-size-lg);
    font-weight: 600;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.submit_pledge_btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* Admin Panel Styles */
.admin_page {
    background: var(--neutral-100);
}

.admin_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-6);
}

.admin_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-8);
    background: white;
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-base);
}

.admin_header h1 {
    color: var(--neutral-800);
    font-size: var(--font-size-2xl);
    font-weight: 600;
}

.admin_nav {
    display: flex;
    gap: var(--space-4);
}

.refresh_btn, .export_btn, .logout_btn {
    padding: var(--space-3) var(--space-5);
    border: none;
    border-radius: var(--radius-base);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.refresh_btn {
    background: var(--primary-blue);
    color: white;
}

.export_btn {
    background: var(--success-green);
    color: white;
}

.logout_btn {
    background: var(--error-red);
    color: white;
}

.refresh_btn:hover, .export_btn:hover, .logout_btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-base);
}

.success_alert {
    background: #d1fae5;
    color: #065f46;
    padding: var(--space-4);
    border-radius: var(--radius-base);
    margin-bottom: var(--space-6);
    border-left: 4px solid var(--success-green);
}

.error_alert {
    background: #fee2e2;
    color: #991b1b;
    padding: var(--space-4);
    border-radius: var(--radius-base);
    margin-bottom: var(--space-6);
    border-left: 4px solid var(--error-red);
}

/* Stats Grid */
.stats_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.stat_card {
    background: white;
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-base);
    text-align: center;
}

.stat_card h3 {
    color: var(--neutral-600);
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-bottom: var(--space-3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat_number {
    color: var(--primary-blue);
    font-size: var(--font-size-3xl);
    font-weight: 700;
}

/* Control Section */
.control_section {
    background: white;
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-base);
    margin-bottom: var(--space-8);
}

.control_section h2 {
    color: var(--neutral-800);
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-6);
}

.timer_form {
    display: flex;
    flex-direction: column;
}

.form_row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: var(--space-4);
    align-items: end;
}

.update_btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-base);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    height: fit-content;
}

.update_btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

/* Data Section */
.data_section {
    background: white;
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-base);
    margin-bottom: var(--space-8);
}

.data_section h2 {
    color: var(--neutral-800);
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-6);
}

.table_container {
    overflow-x: auto;
}

.user_table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-size-sm);
}

.user_table th,
.user_table td {
    padding: var(--space-3);
    text-align: left;
    border-bottom: 1px solid var(--neutral-200);
}

.user_table th {
    background: var(--neutral-50);
    font-weight: 600;
    color: var(--neutral-700);
}

.status_badge {
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: capitalize;
}

.status_badge.completed {
    background: #d1fae5;
    color: #065f46;
}

.status_badge.pending {
    background: #fef3c7;
    color: #92400e;
}


/* Admin Login Page */
.admin_login_page {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-teal) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin_login_container {
    width: 100%;
    max-width: 400px;
    padding: var(--space-6);
}

.admin_login_card {
    background: white;
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    text-align: center;
}

.admin_login_card h1 {
    color: var(--neutral-800);
    font-size: var(--font-size-2xl);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.admin_login_card h2 {
    color: var(--neutral-600);
    font-size: var(--font-size-lg);
    font-weight: 400;
    margin-bottom: var(--space-8);
}

.admin_login_form {
    text-align: left;
}

.admin_login_btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-teal) 100%);
    color: white;
    border: none;
    padding: var(--space-4);
    font-size: var(--font-size-lg);
    font-weight: 600;
    border-radius: var(--radius-base);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: var(--space-6);
}

.admin_login_btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.back_link {
    text-align: center;
}

.back_link a {
    color: var(--neutral-600);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: color 0.3s ease;
}

.back_link a:hover {
    color: var(--primary-blue);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile Styles */
    .main_container {
        padding: var(--space-4);
    }
    
    .header_section {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-bottom: 0px;
    }
    
    .guinness_logo {
        margin-bottom: 145px;
        width: 160px;
        height: 70px;
    }
    
    .login_btn {
        padding: var(--space-3) var(--space-8);
        font-size: var(--font-size-lg);
    }
    
    .stats_section {
        flex-direction: overflow-x;
        gap: var(--space-8);
    }
    
    .timer_display, .pledges_count {
        font-size: var(--font-size-3xl);
    }
    
    .modal_content {
        margin: 20% auto;
        width: 95%;
    }
    
    .form_row {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .admin_nav {
        flex-direction: column;
    }
    
    .stats_grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    /* Login Button */
     .login_button_container {
         margin-top: 67px;
         margin-bottom: var(--space-12);
    }

    /* Small Mobile Styles */
    .pledge_container {
        padding: var(--space-4);
    }
    
    .pledge_image {
        /*height: 200px;*/
    }
    
    .pledge_content {
        padding: var(--space-6);
    }
    
    .pledge_content p {
        font-size: var(--font-size-base);
    }
    
    .stats_section {
        flex-direction: overflow-x;
        gap: var(--space-8);
    }
    
    .image_grid {
        grid-template-columns: 1fr;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .main_logo,
    .pledge_logo,
    .guinness_logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --neutral-50: #1f2937;
        --neutral-100: #374151;
        --neutral-200: #4b5563;
        --neutral-800: #f9fafb;
        --neutral-900: #ffffff;
    }
}

/* Print Styles */
@media print {
    .admin_nav,
    .refresh_btn,
    .export_btn,
    .logout_btn,
    .login_btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .user_table {
        font-size: 0.75rem;
    }
}

/* Focus Management for Accessibility */
*:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

button:focus,
input:focus,
select:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-blue: #0000ff;
        --error-red: #ff0000;
        --success-green: #008000;
        --neutral-500: #000000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


.Suggsetion{
    font-size: 9px;
    color: Yellow;
}
@media screen and (max-width: 990px) {
  body {
    background-image: url('../../assets/images/background_mobile.jpg');
    background-size: 100% auto; /* or cover, depending on your logo proportions */
    background-position: center 114px; /* optional adjustment */
    background-color: #092038;
  }
  .main_container {
    padding: 300px 24px 24px 24px;
    margin-bottom: 50px;
  }
  .head_logo img {
      max-width: 100%;
      height: auto;
  }
  .main_container > .mobile_zimmedar {
      margin-top: 10px !important;
      padding: 0px !important;
  }
}
.bottom-banner { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0px; color: #ffffff; background: rgb(13 12 35 / 63%); border-radius: 10px 10px 0px 0px; z-index: 9999; font-size: 90%; padding: 10px 40px; }