﻿/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI",Arial,sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: linear-gradient(rgba(15,23,42,.70),rgba(15,23,42,.82)), url('/image/login.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* =========================================
   REGISTER CARD
========================================= */

.register-card {
    width: 100%;
    max-width: 520px;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(18px);
    border-radius: 18px;
    padding: 32px;
    border: 1px solid rgba(255,255,255,.45);
    box-shadow: 0 25px 60px rgba(0,0,0,.35), 0 10px 25px rgba(0,0,0,.15);
}

/* =========================================
   TITLE
========================================= */

h2 {
    text-align: center;
    color: #1e293b;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.subtitle {
    text-align: center;
    color: #64748b;
    font-size: 15px;
    margin-bottom: 28px;
}

/* =========================================
   LABEL
========================================= */

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

/* =========================================
   INPUT
========================================= */

.form-control {
    height: 44px;
    border-radius: 10px;
    border: 1px solid #CBD5E1;
    font-size: 14px;
    padding: 0 14px;
    transition: .25s;
}

    .form-control:focus {
        outline: none;
        border-color: #2563eb;
        box-shadow: 0 0 0 4px rgba(37,99,235,.15);
    }

/* =========================================
   PASSWORD
========================================= */

.password-wrapper {
    position: relative;
}

    .password-wrapper .form-control {
        padding-right: 42px;
    }

.toggle-password {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #64748b;
    font-size: 16px;
}

    .toggle-password:hover {
        color: #1e293b;
    }

/* =========================================
   BUTTON
========================================= */



/* =========================================
   BACK LOGIN
========================================= */

.back-login {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

    .back-login:hover {
        text-decoration: underline;
    }

/* =========================================
   HR
========================================= */

hr {
    margin: 25px 0;
    border: 0;
    border-top: 1px solid #E2E8F0;
}

/* =========================================
   VALIDATION
========================================= */

.text-danger {
    font-size: 12px;
}

    .text-danger ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:768px) {

    .register-card {
        max-width: 100%;
        padding: 24px;
    }

    .btn-register-submit {
        width: 100%;
    }
}

.register-box {
    margin-top: 25px;
    padding: 20px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    text-align: center;
}

    .register-box h6 {
        margin-bottom: 8px;
        font-size: 18px;
        font-weight: 700;
        color: #1e293b;
    }

    .register-box p {
        color: #64748b;
        font-size: 14px;
        margin-bottom: 15px;
    }

.register-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 190px;
    height: 42px;
    border-radius: 10px;
    background: #10b981;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: .25s;
}

    .register-btn:hover {
        background: #059669;
        color: white;
    }