/* ============================================================
   TARTILA - DAFTAR SANTRI BARU (PUBLIC PSB) STYLESHEET
   Extracted from app/Views/home/daftar-santri.php
   ============================================================ */

        :root {
            --primary: #059669;
            --primary-hover: #047857;
            --primary-light: #ecfdf5;
            --dark: #0f172a;
            --text-main: #1e293b;
            --text-muted: #64748b;
            --bg-body: #f8fafc;
            --border-color: #e2e8f0;
            --danger: #ef4444;
            --success: #10b981;
        }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background-color: var(--bg-body);
            color: var(--text-main);
            padding: 2.5rem 1rem;
            line-height: 1.6;
        }
        .container { max-width: 620px; margin: 0 auto; }
        .card {
            background: #fff;
            border-radius: 1.25rem;
            border: 1px solid var(--border-color);
            padding: 2.5rem;
            box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
        }
        .form-title { font-size: 1.45rem; font-weight: 800; margin-bottom: 0.25rem; color: var(--dark); letter-spacing: -0.02em; }
        .form-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 2rem; }
        
        .form-group { margin-bottom: 1.25rem; }
        .form-label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; color: var(--text-main); }
        .form-control {
            width: 100%;
            padding: 0.75rem 1rem;
            border-radius: 0.75rem;
            border: 1px solid var(--border-color);
            font-family: inherit;
            font-size: 0.95rem;
            outline: none;
            transition: border-color 0.2s, box-shadow 0.2s;
        }
        .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15); }
        .btn-submit {
            width: 100%;
            background: var(--primary);
            color: #fff;
            padding: 0.85rem;
            border: none;
            border-radius: 0.75rem;
            font-weight: 700;
            font-size: 1rem;
            cursor: pointer;
            box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
            transition: all 0.2s;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }
        .btn-submit:hover { background: var(--primary-hover); transform: translateY(-1px); }
        .alert { padding: 1rem 1.25rem; border-radius: 0.75rem; margin-bottom: 1.5rem; font-size: 0.9rem; }
        .alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
        .alert-danger { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
        .back-link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--text-muted); text-decoration: none; font-size: 0.9rem; margin-bottom: 1.5rem; font-weight: 600; transition: color 0.2s; }
        .back-link:hover { color: var(--primary); }
