header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 50;
}
.header-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}
.logo-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #006a4e, #f42a41);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.logo-text h1 {
    color: #006a4e;
    font-size: 24px;
    font-weight: 700;
}
.logo-text p {
    color: #f42a41;
    font-size: 13px;
    font-weight: 600;
}

/* Banner */
.banner {
    background: linear-gradient(135deg, rgba(0, 106, 78, 0.95), rgba(244, 42, 65, 0.95)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect fill="%23006a4e" width="1200" height="400"/><circle fill="%23f42a41" opacity="0.1" cx="200" cy="200" r="150"/><circle fill="%23f42a41" opacity="0.1" cx="1000" cy="100" r="100"/><circle fill="%23f42a41" opacity="0.1" cx="600" cy="300" r="120"/></svg>');
    background-size: cover;
    background-position: center;
    /* padding: 80px 20px; */
    min-height: 200px;
    margin: 20px 0;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}
.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    background-size: cover;
    background-repeat: no-repeat;
    animation: shimmer 3s infinite;
}
@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}
.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}
.banner-content h2 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 0.8s ease;
}
.banner-content p {
    font-size: 22px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease;
}
.banner-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 12px 30px;
    border-radius: 50px;
    margin-top: 15px;
    font-weight: 600;
    font-size: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Search Section */
.search-section {
    background: white;
    margin: 2.5rem 0;
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}
.title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    font-weight: 700;
}
.search-section .title {
    color: #006a4e;
}
.search-form {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}
.form-group {
    position: relative;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 600;
}
.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #006a4e;
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 106, 78, 0.1);
}
.search-btn {
    width: 100%;
    padding: 18px 40px;
    background: linear-gradient(135deg, #006a4e, #00523c);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 106, 78, 0.3);
    margin-top: 15px;
}
.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 106, 78, 0.4);
}
.search-btn:active {
    transform: translateY(0);
}

/* Results Section */
.results-section {
    background: white;
    margin: 3rem 1.25rem;
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    display: none;
}
.results-section.active {
    display: block;
    animation: slideIn 0.5s ease;
}
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.results-section .title {
    color: #006a4e;
}
.voter-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.voter-card {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.voter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #006a4e, #f42a41);
}
.voter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 106, 78, 0.2);
    border-color: #006a4e;
}
.voter-card h4 {
    color: #006a4e;
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 700;
}
.voter-info {
    color: #111;
    line-height: 1.25;
}
.voter-info p {
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
}
.voter-info .key {
    color: #555;
    font-weight: 600;
}
.voter-info .value {
    color: #000;
    font-weight: 600;
    text-align: right;
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
.voter-slip {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    animation: popIn 0.4s ease;
}
@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.75);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.slip-header {
    background: linear-gradient(135deg, #006a4e, #00523c);
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
}
.slip-header h2 {
    font-size: 30px;
    margin-bottom: 5px;
}

.slip-header p {
    font-size: 16px;
    opacity: 0.9;
}

.slip-body {
    padding: 40px;
}

.slip-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.slip-info-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #006a4e;
}

.slip-info-item label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
    font-weight: 600;
}

.slip-info-item .value {
    color: #333;
    font-weight: 600;
}

.slip-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-download {
    background: linear-gradient(135deg, #006a4e, #00523c);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 106, 78, 0.3);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 106, 78, 0.4);
}

.btn-close {
    background: #e0e0e0;
    color: #333;
}

.btn-close:hover {
    background: #d0d0d0;
}

/* Footer */
footer {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    margin-top: 3rem;
    text-align: center;
    color: #666;
}

footer strong {
    color: #006a4e;
}

@media (max-width: 768px) {
    .banner-content h2 {
        font-size: 36px;
    }
    .search-section {
        margin: 1.5rem 0;
        padding: 1rem;
        border-radius: 20px;
    }
    .results-section {
        margin: 2rem 0;
        padding: 1rem;
        border-radius: 15px;
    }
    .title {
        font-size: 1.5rem;
        margin-bottom: 1.75rem;
    }
    .voter-cards {
        gap: 1rem;
    }
    .voter-card {
        border-radius: 12px;
        padding: 1rem;
    }
    .slip-info {
        grid-template-columns: 1fr;
    }
    footer {
        margin-top: 1rem;
    }

    div:where(.swal2-container) h2:where(.swal2-title) {
        font-size: 1.25em !important;
    }
    div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm) {
        background-color: #006a4e !important;
    }
}