/* Halaman Layanan CSS */

/* Rekening Donasi Card */
.donation-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.bank-detail-box {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    border: 2px dashed var(--alwahyu-primary);
    margin-top: 20px;
}

.bank-name {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 8px;
}

.bank-number {
    font-size: clamp(1.4rem, 6vw, 2rem);
    font-weight: 800;
    color: var(--alwahyu-dark);
    letter-spacing: clamp(1px, 1vw, 4px);
    margin-bottom: 8px;
    word-break: break-word;
}

.bank-holder {
    font-weight: 600;
    color: var(--alwahyu-text);
}

.donation-footer {
    text-align: center;
    margin-top: 20px;
    color: var(--alwahyu-text);
}

.donation-thanks {
    text-align: center;
    margin-top: 10px;
    font-size: 1.2rem;
    color: var(--alwahyu-primary);
    font-weight: 700;
}

/* WhatsApp Button Custom Styles */
.wa-btn {
    background: #25d366;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.wa-btn:hover {
    background: #20ba5a;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
    color: white;
}

/* Forms & inputs inside Layanan pages (e.g. Pengaduan) */
.form-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-card h2 {
    margin-bottom: 24px;
}

.custom-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    text-align: left;
}

.form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--alwahyu-dark);
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--alwahyu-border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    background: white;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: var(--alwahyu-primary);
    box-shadow: 0 0 0 4px rgba(62, 125, 55, 0.1);
}

/* Registration details page */
.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    margin-bottom: 15px;
    border-bottom: 1px solid var(--alwahyu-border);
    padding-bottom: 15px;
    font-size: 1.05rem;
}

.info-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

@media (max-width: 600px) {
    .donation-card, .form-card { padding: 24px; }
    .bank-detail-box { padding: 16px; }
}

/* Pendaftaran Santri Page Redesign Elements */

/* Timeline/Alur Pendaftaran */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 60px auto;
    padding: 0 10px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 32px;
    width: 4px;
    background: var(--alwahyu-border);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 70px;
    animation: fadeInUp 0.5s ease;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: 12px;
    top: 0;
    width: 44px;
    height: 44px;
    background: white;
    border: 3px solid var(--alwahyu-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--alwahyu-primary);
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    z-index: 1;
}

.timeline-content {
    background: white;
    padding: 24px 30px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    border: 1px solid var(--alwahyu-border);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(5px);
    border-color: var(--alwahyu-primary);
}

.timeline-content h3 {
    font-size: 1.15rem;
    color: var(--alwahyu-dark);
    margin-bottom: 8px;
    font-weight: 700;
}

.timeline-content p {
    color: var(--alwahyu-text);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Two-column Form Row Grid */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-section-title {
    font-size: 1.2rem;
    color: var(--alwahyu-dark);
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--alwahyu-border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-section-title i {
    color: var(--alwahyu-primary);
}

/* Toast alert notification style */
.ep-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--alwahyu-dark);
    color: white;
    padding: 14px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 100000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ep-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.ep-toast-icon {
    font-size: 1.1rem;
}

.ep-toast-success {
    background: #15803d;
}

.ep-toast-error {
    background: #b91c1c;
}

/* Form Submit Loading Spinner */
.btn-submit {
    position: relative;
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-submit:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Responsive fixes */
.layanan-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.pengaduan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .layanan-split-grid,
    .pengaduan-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .timeline::before {
        left: 20px;
    }
    .timeline-item {
        padding-left: 45px;
    }
    .timeline-icon {
        left: 0;
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
    .timeline-content {
        padding: 18px 20px;
    }
}

/* Donasi Page Responsive Custom Layouts */
.donasi-hero {
    background: linear-gradient(135deg, var(--alwahyu-primary), var(--alwahyu-primary-2));
    padding: 50px 40px;
    border-radius: 24px;
    color: white;
    text-align: center;
    margin-bottom: 40px;
}

.donasi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

@media (max-width: 600px) {
    .donasi-hero {
        padding: 30px 20px;
        border-radius: 16px;
    }
    .donasi-hero h2 {
        font-size: 1.4rem !important;
        margin-bottom: 10px !important;
    }
    .donasi-hero h3 {
        font-size: 1.1rem !important;
        margin-bottom: 10px !important;
    }
    .donasi-hero p {
        font-size: 0.9rem !important;
    }
    .donasi-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Administrasi Page Responsive Layouts */
.admin-tab-content {
    background: white;
    border: 1px solid var(--alwahyu-border);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.admin-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.admin-info-col {
    flex: 1;
    min-width: 280px;
}

.admin-form-col {
    flex: 1.2;
    min-width: 280px;
    background: #f8fafc;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--alwahyu-border);
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .admin-tab-content {
        padding: 20px 15px;
        border-radius: 12px;
    }
    .admin-grid {
        gap: 24px;
        flex-direction: column;
    }
    .admin-info-col, .admin-form-col {
        width: 100%;
        min-width: 0;
    }
    .admin-form-col {
        padding: 16px;
    }
}



