/* --- Core Variables & Global Reset --- */
:root {
    --primary: #e3b341; 
    --dark: #0b1220;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --transition: 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }

body { 
    background: var(--white); 
    color: var(--dark); 
    line-height: 1.6; 
    scroll-behavior: smooth;
}

body.modal-open { overflow: hidden; }

/* --- Header --- */
header { 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 15px 8%; background: var(--white); position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo { font-size: 24px; font-weight: 700; color: var(--dark); text-decoration: none; }
.logo span { color: var(--primary); }

nav a { margin: 0 15px; text-decoration: none; color: var(--dark); font-weight: 500; transition: var(--transition); }
nav a:hover { color: var(--primary); }

/* --- Brand Strip --- */
.brand-strip {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 5% 10px; background: #fff; margin: 0 !important;
}

.brand-logo-img { height: 65px; width: auto; object-fit: contain; }

.brand-center { text-align: center; flex: 1; }
.society-name { font-size: 0.85rem; font-weight: 600; color: #444; }
.inst-full-name { font-size: 1.2rem; color: #001f3f; font-weight: 800; text-transform: uppercase; }
.dept-label { font-size: 1rem; color: #ff4d05; font-weight: 700; }

/* --- Hero Section --- */
.hero { 
    padding: 40px 8% 60px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 40px; align-items: center; background: #fdfdfd; margin: 0 !important;
}

.hero h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.2; margin-bottom: 20px; }
.hero h1 span { color: var(--primary); }
.badge { background: var(--primary); color: #fff; padding: 5px 15px; border-radius: 20px; font-size: 12px; display: inline-block; margin-bottom: 10px; }

/* --- Timer --- */
.countdown-container { display: flex; gap: 10px; margin: 25px 0; }
.count-box { background: var(--dark); color: var(--primary); padding: 12px; border-radius: 12px; min-width: 75px; text-align: center; }
.count-box span { display: block; font-size: 22px; font-weight: 700; color: var(--white); }
.count-box label { font-size: 9px; text-transform: uppercase; }

/* --- Hero Card & Image --- */
.hero-card { background: var(--dark); padding: 40px; border-radius: 30px; color: #fff; text-align: center; position: relative; }
.hero-card-image-wrapper { width: 100%; margin-top: 20px; display: flex; justify-content: center; align-items: center; }
.dept-image { max-width: 100%; object-fit: contain; border-radius: 15px; }
.hero-card-footer { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-around; }

/* --- Section Headers --- */
.section-header-box { text-align: center; margin-bottom: 40px; padding-top: 20px; }
.category-badge { background: #ffd700; color: #001f3f; padding: 5px 15px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.header-line { width: 60px; height: 4px; background: #ffd700; margin: 10px auto; border-radius: 2px; }

/* --- Buttons --- */
.btn-primary { 
    background: var(--primary); color: #fff; padding: 10px 25px; 
    border-radius: 8px; border: none; font-weight: 600; cursor: pointer;
    transition: var(--transition);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(227, 179, 65, 0.3); }

.hero-btns { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 40px; }
.btn-download {
    display: inline-flex; align-items: center; gap: 12px; background: #001f3f; color: #ffd700; 
    padding: 16px 32px; font-size: 1.1rem; border-radius: 10px; text-decoration: none; 
    font-weight: 700; border: 2px solid #ffd700; transition: 0.3s;
}
.hero-btn { padding: 16px 32px !important; font-size: 1.1rem !important; border-radius: 10px !important; font-weight: 700 !important; }

/* --- Grid & Cards --- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; padding: 0 8% 60px; }
.card { padding: 35px 25px; border-radius: 20px; border: 1px solid #eee; text-align: center; transition: var(--transition); background: var(--white); }
.card:hover { transform: translateY(-8px); border-color: var(--primary); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.card .icon { font-size: 40px; margin-bottom: 15px; }

/* --- Prize Section --- */
.prize-section-light { padding: 60px 5%; background: #ffffff; text-align: center; }
.prize-card { max-width: 900px; margin: 0 auto; padding: 40px; background: #fcfcfc; border: 2px solid #f0f0f0; border-radius: 24px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.prize-amount-light { 
    font-size: 5rem; font-weight: 800; 
    background: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c); 
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; 
}
.perk-pill { background: #f0f4f8; color: #001f3f; padding: 10px 20px; border-radius: 50px; font-weight: 600; border: 1px solid #e2e8f0; display: inline-flex; align-items: center; gap: 8px; margin: 5px; }

/* --- Modal --- */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); display: none; justify-content: center; align-items: center; z-index: 2000; backdrop-filter: blur(4px); }
.modal { background: var(--white); padding: 30px; border-radius: 25px; width: 95%; max-width: 450px; position: relative; max-height: 90vh; overflow-y: auto; display: flex; flex-direction: column; justify-content: center; min-height: 400px; }
.close-modal { position: absolute; top: 15px; right: 15px; border: none; background: none; font-size: 20px; cursor: pointer; }
.modal input, .modal select { width: 100%; padding: 12px; margin-bottom: 12px; border: 1px solid #ddd; border-radius: 8px; }

/* --- Payment QR --- */
.qr-box { background: var(--light-bg); padding: 20px; border-radius: 12px; margin-bottom: 15px; border: 1px dashed var(--primary); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.qr-box p { font-size: 11px; font-weight: 700; margin-bottom: 12px; color: var(--dark); letter-spacing: 1px; }
.qr-box img { width: 160px; height: auto; border-radius: 8px; display: block; }

.payable-box { background: var(--dark); color: #fff; padding: 12px; border-radius: 10px; margin-bottom: 15px; text-align: center; }
.payable-box .price { color: var(--primary); font-weight: 700; font-size: 20px; }

/* --- Help Desk --- */
.wa-help-desk { position: fixed; bottom: 30px; right: 30px; z-index: 10000; }
.wa-menu { position: absolute; bottom: 80px; right: 0; width: 320px; background: #ffffff; border-radius: 20px; box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15); display: none; flex-direction: column; overflow: hidden; border: 1px solid rgba(0, 31, 63, 0.1); animation: slideUpScale 0.4s ease; }
.wa-header { background: linear-gradient(135deg, #001f3f 0%, #003366 100%); color: #ffd700; padding: 20px; }
.wa-list a { display: flex; align-items: center; background: white; padding: 12px; margin: 10px; border-radius: 12px; text-decoration: none; border: 1px solid transparent; transition: 0.3s; }
.wa-list a:hover { border-color: #ffd700; transform: translateX(-5px); }
.wa-main-btn { background: #25d366; color: white; border: none; padding: 15px 25px; border-radius: 50px; display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 700; }

/* --- Team Section --- */
.team-section { padding: 80px 5%; background-color: #f9f9f9; text-align: center; }
.leadership-grid { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.person-card { background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); width: 220px; transition: transform 0.3s; }
.person-card:hover { transform: translateY(-5px); }
.person-card.president { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 215, 0, 0.3); padding: 25px 20px; width: 240px; display: flex; flex-direction: column; justify-content: center; }

/* --- Footer --- */
.infotsav-footer { background: #001f3f; color: #ffffff; padding: 60px 5% 20px; text-align: left; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.footer-copyright { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; opacity: 0.7; }

/* --- Toast Notification --- */
.reg-notification { position: fixed; bottom: -100px; left: 20px; background: rgba(255, 255, 255, 0.95); border-left: 5px solid #ffd700; padding: 15px 20px; border-radius: 10px; display: flex; align-items: center; gap: 12px; z-index: 9999; transition: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55); }
.reg-notification.show { bottom: 20px; }

/* --- Animations --- */
@keyframes slideUpScale { from { opacity: 0; transform: translateY(20px) scale(0.9); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .brand-strip { flex-direction: column; gap: 15px; text-align: center; }
    header nav { display: none; }
    .footer-top { grid-template-columns: 1fr; text-align: center; }
    .prize-amount-light { font-size: 3.5rem; }
}
/* --- Team Section Base --- */
.team-section {
    padding: 80px 5%;
    background-color: #f9f9f9;
    text-align: center;
}

.section-title h2 {
    font-size: 2.2rem;
    color: #001f3f;
    margin-bottom: 10px;
}

/* --- Leadership Grid (Directors/HODs) --- */
.leadership-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.person-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    width: 220px;
    transition: transform 0.3s ease;
}

.person-card:hover {
    transform: translateY(-5px);
}

.person-card.highlight {
    border-bottom: 4px solid #ffd700; /* Gold Accent */
}

.person-card h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #001f3f;
}

.person-card p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
}

/* --- CSITE Organized By Banner --- */
.csite-banner {
    background: linear-gradient(135deg, #001f3f 0%, #003366 100%);
    color: white;
    padding: 40px 20px;
    border-radius: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.csite-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.csite-small { 
    height: 50px; 
    filter: drop-shadow(0 0 5px rgba(255,215,0,0.3));
}

.csite-header h3 {
    font-size: 1.8rem;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Student Lead Cards (The Messed Up Part Fixed) --- */
.student-lead {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.person-card.president {
    background: rgba(255, 255, 255, 0.08); /* Glass effect */
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 30px 20px;
    width: 260px; /* Slightly wider for titles */
    border-radius: 15px;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: none; /* Remove default shadow for glass look */
}

.person-card.president:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 215, 0, 1);
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.person-card.president h4 {
    color: #ffd700 !important; /* Gold Name */
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.person-card.president p {
    color: #ffffff !important; /* White Title */
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    opacity: 0.9;
}

/* Specific highlight for first card (President) */
.person-card.president:nth-child(1) {
    border-color: rgba(255, 215, 0, 0.8);
}

/* --- Success State Styling --- */
.success-card {
    text-align: center;
    padding: 20px;
}

.success-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.wa-join-btn {
    display: inline-block;
    background-color: #25d366;
    color: white;
    padding: 14px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    margin: 20px 0;
    transition: 0.3s;
}

.wa-join-btn:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}
/* --- Modal Scroll & Layout Fix --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(4px);
    padding: 20px; /* Prevents modal from touching screen edges */
}

.modal {
    background: var(--white);
    padding: 30px;
    border-radius: 25px;
    width: 100%;
    max-width: 450px;
    position: relative;
    
    /* CRITICAL FIX FOR SCROLLING */
    max-height: 90vh; 
    overflow-y: auto; 
    display: block; /* Changed from flex to block to allow natural scrolling */
}

/* --- Fix for Single/Dual Radio Alignment --- */
#participationToggle {
    margin: 15px 0;
}

.p-toggle-box {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.p-toggle-box label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s;
}

/* Highlight border when radio is checked (Logic used in many modern UIs) */
.p-toggle-box label:has(input:checked) {
    border-color: var(--primary);
    background: rgba(227, 179, 65, 0.05);
}

.p-toggle-box input[type="radio"] {
    width: auto; /* Overrides the 100% width of standard inputs */
    margin: 0;
}

/* --- QR Centering Fix --- */
.qr-box {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    border: 1px dashed var(--primary);
    text-align: center;
}

.qr-box p {
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.qr-box img {
    width: 160px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* --- Button Styling Fix --- */
.contact-btn {
    width: 100%;
    background: var(--primary);
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

.contact-btn:hover {
    background: #c99a2e;
}

/* Custom Scrollbar for the Modal */
.modal::-webkit-scrollbar {
    width: 6px;
}
.modal::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
/* --- Modal & Scrolling Fixes --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
    padding: 20px;
}
/* Gallery Section Styles */
.gallery-section {
    padding: 60px 5%;
    background: #f8fafc; /* Light background to contrast with your dark sections */
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Keeps images from stretching */
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0; /* Hidden by default */
    background: linear-gradient(transparent, rgba(0, 31, 63, 0.8));
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: height 0.3s ease;
}

.gallery-overlay span {
    color: white;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Hover Effects */
.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    height: 50%;
}

.gallery-item:hover .gallery-overlay span {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
.modal {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    width: 100%;
    max-width: 450px;
    position: relative;
    max-height: 90vh; /* Limits height to 90% of screen */
    overflow-y: auto; /* Enables vertical scrolling */
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* --- Success Card UI (Fixed) --- */
.success-card {
    display: none; /* Controlled by JS */
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 10px;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    color: #25d366;
}

.success-card h2 {
    color: #001f3f;
    margin-bottom: 10px;
    font-weight: 700;
}

.success-card p {
    color: #444;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.wa-join-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #25d366;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    width: 100%;
    max-width: 280px;
    transition: transform 0.3s, background 0.3s;
    margin-bottom: 15px;
}

.wa-join-btn:hover {
    background-color: #128c7e;
    transform: translateY(-3px);
}

.manual-close-btn {
    background: transparent;
    border: 1px solid #ddd;
    color: #666;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.3s;
}

.manual-close-btn:hover {
    background: #f8f9fa;
}

/* --- QR & Radio Alignment --- */
.qr-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border: 1px dashed #e3b341;
    margin: 20px 0;
}

.p-toggle-box {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.p-toggle-box label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    background: #fff;
}

.p-toggle-box input[type="radio"] {
    width: auto;
    margin: 0;
}
html {
    scroll-behavior: smooth;
}
/* Widget Position */
.wa-help-desk {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    font-family: 'Poppins', sans-serif;
}

/* Menu Container */
.wa-menu {
    display: none;
    position: absolute;
    bottom: 85px;
    right: 0;
    width: 320px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.wa-menu.show {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Header Styling - Dark Blue */
.wa-header {
    background: #0d2754;
    padding: 25px 20px;
    color: white;
    border-radius: 20px 20px 0 0;
}

.wa-header h4 {
    color: #fbc02d; /* Golden Yellow */
    font-size: 20px;
    margin: 0;
    font-weight: 700;
}

.wa-header p {
    margin: 4px 0 0;
    font-size: 13px;
    opacity: 0.9;
    color: #e0e0e0;
}

/* List Styling */
.wa-list {
    padding: 15px;
    max-height: 420px;
    overflow-y: auto;
    background: #ffffff; /* White bg for clean look */
}

/* Scrollbar Styling */
.wa-list::-webkit-scrollbar {
    width: 5px;
}
.wa-list::-webkit-scrollbar-track {
    background: transparent;
}
.wa-list::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

/* Card Styling */
.wa-card {
    display: flex;
    align-items: center;
    background: white;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 16px;
    text-decoration: none;
    border: 1px solid #f0f0f0; /* Subtle border */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-color: transparent;
}

/* Icon Box - "App Icon" Look */
.wa-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 15px;
    flex-shrink: 0;
}

/* Text Info */
.wa-info {
    display: flex;
    flex-direction: column;
}

.event-name {
    font-weight: 700;
    color: #0d2754;
    font-size: 15px;
}

.coord-name {
    color: #888;
    font-size: 13px;
    margin-top: 2px;
}


/* Widget Container */
.wa-help-desk {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
}

/* Menu Container - Increased Width */
.wa-menu {
    display: none;
    position: absolute;
    bottom: 85px;
    right: 0;
    width: 350px; /* Wider for bigger cards */
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.wa-menu.show {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
}

/* Header with Close Button */
.wa-header {
    background: #0d2754;
    padding: 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.header-content h4 {
    color: #fbc02d;
    font-size: 20px;
    margin: 0;
    font-weight: 700;
}

.header-content p {
    margin: 4px 0 0;
    font-size: 13px;
    opacity: 0.8;
}

/* The New Close (X) Button */
.close-wa-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    font-size: 24px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.2s;
}

.close-wa-btn:hover {
    background: rgba(255,255,255,0.3);
}

/* List Area */
.wa-list {
    padding: 20px; /* More breathing room */
    max-height: 450px;
    overflow-y: auto;
    background: #f8f9fa;
}

/* LARGE CARD STYLE with BORDER */
.wa-card {
    display: flex;
    align-items: center;
    background: white;
    padding: 16px; /* Bigger internal space */
    margin-bottom: 15px; /* More space between cards */
    border-radius: 16px;
    text-decoration: none;
    border: 1px solid #dde1e6; /* VISIBLE GREY BORDER */
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.wa-card:hover {
    transform: translateY(-3px);
    border-color: #25d366; /* Green border on hover */
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.15);
}

/* Icons */
.wa-icon-box {
    width: 55px; /* Bigger Icons */
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-right: 18px;
    flex-shrink: 0;
}

/* Text */
.event-name {
    display: block;
    font-weight: 700;
    color: #0d2754;
    font-size: 16px;
}

.coord-name {
    display: block;
    color: #666;
    font-size: 14px;
    margin-top: 4px;
}

/* Main Button */
.wa-main-btn {
    background: #25d366;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.wa-main-btn img {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
}