:root {
    --bg-primary: #022c22;
    --bg-secondary: #064e3b;
    --text-primary: #ecfdf5;
    --text-secondary: #a7f3d0;
    --accent-primary: #fbbf24;
    --accent-hover: #f59e0b;
    --success: #34d399;
    --warning: #fcd34d;
    --danger: #ef4444;
    --border-color: #047857;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    padding: 2rem;
    background-image: 
        radial-gradient(at 0% 0%, rgba(251, 191, 36, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(52, 211, 153, 0.15) 0px, transparent 50%);
    background-attachment: fixed;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Header Styles */
header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease-out;
}

.header-content h1 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(to right, #fde047, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.header-content p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: #022c22;
    box-shadow: 0 4px 6px -1px rgba(251, 191, 36, 0.4), 0 2px 4px -2px rgba(251, 191, 36, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.5), 0 4px 6px -4px rgba(245, 158, 11, 0.5);
}

/* Info Card */
.info-card {
    background: rgba(236, 253, 245, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 0;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    animation: fadeInUp 0.6s ease-out;
    box-shadow: var(--card-shadow);
}

.info-icon {
    color: #064e3b;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.info-text h3 {
    color: #064e3b;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.info-text p, .info-text ul {
    color: #022c22 !important;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.bank-details {
    background: rgba(16, 185, 129, 0.1);
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.bank-details span {
    font-weight: 600;
    font-size: 1.1rem;
    color: #022c22;
}

.bank-name {
    color: #047857 !important;
}

.wa-link {
    color: #047857;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}

.wa-link:hover {
    color: #10b981;
    text-decoration: underline;
}

/* Delete Button */
.btn-delete {
    background: transparent;
    color: var(--danger);
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-left: 0.5rem;
}

.btn-delete:hover {
    background: rgba(239, 68, 68, 0.1);
    transform: scale(1.1);
}

/* Table Card */
.table-card {
    background: rgba(236, 253, 245, 0.95); /* Softer Green Background */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    animation: fadeInUp 0.8s ease-out;
}

.table-responsive {
    overflow-x: auto;
}

/* Table Styles */
.qurban-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
    color: #022c22; /* Dark green text for readability */
}

.qurban-table th {
    padding: 1rem;
    font-weight: 700;
    color: #064e3b;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    border-bottom: 2px solid rgba(16, 185, 129, 0.3);
}

.qurban-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
    transition: background-color 0.2s ease;
    font-weight: 500;
}

.qurban-table tbody tr {
    transition: all 0.2s ease;
}

.qurban-table tbody tr:hover {
    background-color: rgba(16, 185, 129, 0.1);
    transform: scale(1.005);
}

.qurban-table tbody tr:last-child td {
    border-bottom: none;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.badge-success {
    background-color: #10b981;
    color: #ffffff;
    border: none;
}

.badge-warning {
    background-color: #f59e0b;
    color: #ffffff;
    border: none;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Button Secondary */
.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Modal Styles */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(-20px) scale(0.95);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0) scale(1);
}

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

.modal-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
}

.close-btn {
    color: var(--text-secondary);
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-btn:hover,
.close-btn:focus {
    color: var(--danger);
    text-decoration: none;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.25);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    body {
        padding: 1rem;
    }
    
    .table-card {
        padding: 1rem;
    }

    .info-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
        padding: 1.25rem;
    }

    .bank-details {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        width: 100%;
        padding: 1rem;
    }
}
