/**
 * Jakarta Islamic School
 * Auto-separated stylesheet for: public/students/beranda.php
 */

:root {
            --red-main: #dc2626;
            --white: #ffffff;
            --dark-text: #1e1b4b;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background: #f8fafc;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .portal-card {
            background: #ffffff;
            border-radius: 1.5rem;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
            overflow: hidden;
            width: 100%;
            max-width: 1000px;
            border: 1px solid #e2e8f0;
        }

        /* Header Minimalis Modern */
        .portal-header {
            background: linear-gradient(135deg, var(--red-main) 0%, #b91c1c 100%);
            padding: 2.5rem 2rem;
            text-align: center;
            color: white;
            position: relative;
        }

        .portal-header h1 {
            color: white;
            margin-bottom: 0.2rem;
            font-size: 1.5rem;
            font-weight: 700;
        }

        .portal-header p {
            color: rgba(255, 255, 255, 0.85);
            font-size: 0.85rem;
        }

        .flag-icon {
            display: inline-block;
            width: 18px;
            height: 12px;
            background: linear-gradient(to bottom, var(--red-main) 50%, var(--white) 50%);
            border: 1px solid rgba(255,255,255,0.4);
            border-radius: 2px;
            margin-right: 6px;
            vertical-align: middle;
        }

        .portal-logo {
            width: 70px;
            height: auto;
            margin-bottom: 0.75rem;
            filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
        }

        /* Desain Kartu Menu Minimalis & Dinamis */
        .feature-card {
            background: #ffffff;
            border: 1px solid #f1f5f9;
            border-radius: 0.85rem;
            padding: 1rem 1.25rem;
            text-decoration: none;
            color: var(--dark-text);
            transition: all 0.25s ease;
            height: 100%;
            display: flex;
            align-items: center;
            gap: 1rem;
            box-shadow: 0 2px 4px rgba(0,0,0,0.02);
        }

        .feature-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(220, 38, 38, 0.08);
            border-color: rgba(220, 38, 38, 0.3);
            color: var(--red-main);
        }

        .feature-icon-wrapper {
            width: 45px;
            height: 45px;
            min-width: 45px;
            background: #fef2f2;
            color: var(--red-main);
            border-radius: 0.65rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            transition: all 0.25s ease;
        }

        .feature-card:hover .feature-icon-wrapper {
            background: var(--red-main);
            color: #ffffff;
        }

        .feature-content h3 {
            font-size: 0.95rem;
            font-weight: 600;
            margin-bottom: 0.1rem;
        }

        .feature-content span {
            font-size: 0.75rem;
            color: #64748b;
        }

        .btn-custom-back {
            background: #f1f5f9;
            color: #475569;
            border: none;
            padding: 0.6rem 1.2rem;
            border-radius: 0.75rem;
            font-weight: 600;
            font-size: 0.85rem;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.2s ease;
        }

        .btn-custom-back:hover {
            background: #e2e8f0;
            color: var(--red-main);
        }