  /* =========================================
   KONSEPTO LOGIN PAGE
   File: css/reg.css
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #07336b;
    --primary-dark: #052654;
    --blue: #318df5;
    --blue-light: #eaf3ff;
    --white: #ffffff;
    --text: #182b45;
    --muted: #718096;
    --border: #dce5f0;
    --danger: #dc3545;
    --success: #198754;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
            min-height: 100vh;
            background:
                linear-gradient(90deg,
                    rgba(0, 35, 91, 0.30),
                    rgba(0, 75, 160, 0.10)),
                url("img/city-background.png") center center / cover no-repeat!important;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow-x: hidden;
            position: relative;
            padding: 28px;
        }



/* Main container */

.container {
    width: 100%;
    max-width: 440px;
    margin: auto;
}

/* Login card */

.form-box {
    width: 100%;
    background: var(--white);
    padding: 38px 35px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.65);

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.25),
        0 5px 15px rgba(0, 0, 0, 0.08);

    animation: appear 0.55s ease-out;
}

/* Logo */

.form-box::before {
    content: "";
    display: block;
    width: 100%;
    height: 105px;
    margin: 0 auto 24px;

    background-image: url("../Konsepto Logo.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Heading */

.form-box h2 {
    text-align: center;
    color: var(--primary);
    font-size: 29px;
    font-weight: 800;
    letter-spacing: -0.8px;
    margin-bottom: 8px;
}

.form-box h2::after {
    content: "";
    display: block;
    width: 48px;
    height: 4px;
    margin: 13px auto 24px;
    background: var(--blue);
    border-radius: 10px;
}

/* Form labels */

.form-box label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #344760;
    margin: 18px 0 8px;
}

/* Input fields */

.form-box input {
    display: block;
    width: 100%;
    height: 49px;
    padding: 0 15px;

    font-family: inherit;
    font-size: 14px;
    color: var(--text);

    background: #f8faff;
    border: 1px solid var(--border);
    border-radius: 10px;
    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.form-box input::placeholder {
    color: #9aa8ba;
}

.form-box input:hover {
    border-color: #b4c9e4;
}

.form-box input:focus {
    background: var(--white);
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(49, 141, 245, 0.13);
}

/* Login button */

.form-box button {
    width: 100%;
    height: 51px;
    margin-top: 27px;

    border: none;
    border-radius: 10px;

    background: linear-gradient(
        135deg,
        var(--primary),
        #1265bc
    );

    color: var(--white);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;

    cursor: pointer;

    box-shadow: 0 7px 18px rgba(7, 51, 107, 0.22);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.form-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 11px 23px rgba(7, 51, 107, 0.28);
    filter: brightness(1.1);
}

.form-box button:active {
    transform: translateY(0);
}

.form-box button:focus-visible {
    outline: 3px solid rgba(49, 141, 245, 0.45);
    outline-offset: 3px;
}

/* Register link */

.form-box p {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    line-height: 1.8;
    color: var(--muted);
}

.form-box a {
    color: #1265bc;
    font-weight: 700;
    text-decoration: none;
    margin-left: 3px;
    transition: color 0.2s ease;
}

.form-box a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* PHP error and success messages */

.error,
.success,
.alert,
.message {
    padding: 12px 14px;
    margin: 0 0 16px;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.error,
.alert-danger {
    color: #a72130;
    background: #fff0f1;
    border: 1px solid #f5c2c7;
}

.success,
.alert-success {
    color: #146c43;
    background: #eaf7ef;
    border: 1px solid #badbcc;
}

/* Entrance animation */

@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive */

@media (max-width: 480px) {
    body {
        padding: 20px 14px;
    }

    .form-box {
        padding: 30px 23px;
        border-radius: 17px;
    }

    .form-box::before {
        height: 85px;
        margin-bottom: 22px;
    }

    .form-box h2 {
        font-size: 26px;
    }
}

/* Accessibility: reduced motion */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
