/* check.css */
/* USING: check.php */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap');

/* ========== VARIABLES ========== */
:root {
    --base-padding: clamp(0.5rem, 2vw, 1.5rem);
    --base-radius: 1rem;
    --transition-fast: 0.2s ease-in-out;
    --transition-medium: 0.4s ease-in-out;
    --color-primary: #43cea2;
    --color-secondary: #185a9d;
    --color-error: #e53935;
    --overlay-bg: rgba(0, 0, 0, 0.4);
}

/* ========== GLOBAL RESET ========== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

        body {
            font-family: 'Nunito', sans-serif;
            background: url("https://www-cdn.firrincie.li/s-content/firri-link/backgrounds/background_05.webp") no-repeat center center;
            background-size: cover;
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            text-align: center;
        }

        .overlay {
            background-color: rgba(15, 76, 92, 0.7);
            padding: 3rem 2rem;
            border-radius: 16px;
            backdrop-filter: blur(10px);
            box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
            max-width: 600px;
            width: 90%;
        }

        h1 {
            font-size: 3rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: #aefeff;
        }

        form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-top: 1rem;
        }

        label {
            font-weight: 500;
            color: #d2f6f8;
        }

        input[type="text"] {
            padding: 0.8rem 1rem;
            font-size: 1rem;
            border: none;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.9);
            color: #333;
        }

        input[type="submit"] {
            padding: 0.8rem 1.6rem;
            font-size: 1rem;
            border: none;
            border-radius: 8px;
            background: linear-gradient(to right, #00c6a2, #007c92);
            color: #ffffff;
            font-weight: 600;
            cursor: pointer;
            transition: transform 0.2s, background 0.3s ease;
        }

        input[type="submit"]:hover {
            background: linear-gradient(to right, #00a98f, #005f6e);
            transform: scale(1.05);
        }

        .message {
            margin-top: 1.5rem;
            font-size: 1rem;
            color: #d2f6f8;
        }

        a {
            color: #ffffff;
            text-decoration: underline;
        }

        a:hover {
            color: #aefeff;
        }
        .message {
            margin-top: 2rem;
            padding: 1.2rem 1.5rem;
            background-color: rgba(255, 255, 255, 0.1);
            border-left: 6px solid #00c6a2;
            border-radius: 12px;
            font-size: 1.05rem;
            color: #d2f6f8;
            text-align: left;
            line-height: 1.5;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            max-width: 100%;
        }
        .message strong {
            color: #aefeff;
        }


        /* ========= MENU TOGGLE ========= */
        .menu-toggle {
            background: linear-gradient(135deg, #43cea2, #185a9d);
            color: #fff;
            border: none;
            padding: 12px 18px;
            font-size: 18px;
            font-weight: 600;
            cursor: pointer;
            position: fixed;
            top: 20px;
            right: 20px;
            border-radius: 50px;
            z-index: 1001;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            transition: background 0.3s ease;
        }

        .menu-toggle:hover {
            background: linear-gradient(135deg, #185a9d, #43cea2);
        }

        /* ========= SIDEBAR ========= */
        .sidebar {
            position: fixed;
            top: 0;
            right: -260px;
            width: 250px;
            height: 100%;
            background: rgba(255, 255, 255, 0.95);
            box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
            transition: 0.4s ease-in-out;
            z-index: 1002;
            padding: 60px 20px;
            backdrop-filter: blur(8px);
            border-top-left-radius: 16px;
            border-bottom-left-radius: 16px;
        }

        /* ========= MENU ITEMS ========= */
        .sidebar ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .sidebar ul li {
            margin-bottom: 15px;
        }

        .sidebar ul li a {
            display: block;
            padding: 12px 20px;
            border-radius: 8px;
            text-decoration: none;
            color: #185a9d;
            font-weight: 600;
            font-size: 16px;
            transition: all 0.3s ease;
        }

        .sidebar ul li a:hover {
            background: #e6f0fa;
            color: #0d3b66;
        }

        .sidebar ul li a.active {
            background: linear-gradient(135deg, #43cea2, #185a9d);
            color: white;
            font-weight: 700;
        }


        .sidebar ul li a.active {
            background-color: #FF6E40;
            color: white;
        }

        .sidebar ul li a.active .icon {
            color: white;
        }
        .close-btn {
            position: absolute;
            top: 20px;
            left: 20px;
            background: transparent;
            border: none;
            font-size: 24px;
            color: #185a9d;
            cursor: pointer;
            z-index: 1003;
            transition: color 0.3s ease, transform 0.2s ease;
        }

        .close-btn:hover {
            color: #FF6E40;
            transform: rotate(90deg) scale(1.1);
        }

/* ========== BUTTONS ========== */
.submit-btn {
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.75rem 2.5rem;
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    font-weight: 600;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    text-align: center;
    align-self: start;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

