/*==================================================
PILLZA AUTHENTICATION
Login & Register
==================================================*/
:root {
    --primary: #0f4c81;
    --primary-dark: #e63b6c;
    --secondary: #6c757d;
    --light: #f8f9fc;
    --white: #ffffff;
    --dark: #222222;
    --border: #e9ecef;
    --success: #28a745;
    --shadow: 0 20px 60px rgba(0, 0, 0, .10);
    --radius: 22px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f8f9fc;
    overflow-x: hidden;
    position: relative;
}

/*=====================================
Background
=====================================*/
.auth-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg,
            #fff5f8 0%,
            #ffe7ef 45%,
            #ffffff 100%);
}

/* Floating Background */
.auth-page::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: rgba(255, 77, 126, .10);
    top: -180px;
    left: -180px;
}

.auth-page::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 77, 126, .08);
    right: -220px;
    bottom: -220px;
}

/*=====================================
Authentication Wrapper
=====================================*/
.auth-wrapper {
    width: 100%;
    max-width: 1180px;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .12);
    display: grid;
    grid-template-columns: 1fr 520px;
    min-height: 720px;
    position: relative;
    z-index: 5;
}

/*=====================================
Brand Panel
=====================================*/
.auth-brand {
    background:
        linear-gradient(135deg,
            #0f4c81,
            #4dabf7);
    color: #fff;
    position: relative;
    padding: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.auth-brand::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    top: -120px;
    right: -120px;
}

.auth-brand::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    bottom: -70px;
    left: -70px;
}

.auth-logo {
    width: 95px;
    margin-bottom: 25px;
}

.auth-brand h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.auth-brand p {
    font-size: 17px;
    line-height: 1.9;
    opacity: .95;
    max-width: 460px;
}

.auth-features {
    margin-top: 45px;
}

.auth-feature {
    display: flex;
    align-items: center;
    margin-bottom: 22px;
    font-size: 16px;
}

.auth-feature i {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, .18);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 18px;
    font-size: 20px;
}

/*=====================================
Authentication Form
=====================================*/
.auth-form-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px;
    background: #fff;
}

.auth-form {
    width: 100%;
    max-width: 420px;
}

.auth-form h2 {
    font-size: 34px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.auth-form p {
    color: #777;
    margin-bottom: 35px;
    line-height: 1.8;
}

/*=====================================
Form Controls
=====================================*/
.form-group {
    margin-bottom: 22px;
}

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}

.input-group {
    position: relative;
}

.input-group-text {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    z-index: 5;
    font-size: 18px;
}

.form-control {
    height: 58px;
    border-radius: 15px;
    border: 2px solid #ececec;
    padding-left: 52px;
    padding-right: 55px;
    font-size: 15px;
    box-shadow: none;
    transition: .3s;
}

.form-control:focus {
    border-color: #0f4c81;
    box-shadow: 0 0 0 .2rem rgba(255, 77, 126, .12);
}

/*=====================================
Remember Me
=====================================*/
.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    font-size: 14px;
}

.auth-options a {
    color: #0f4c81;
    text-decoration: none;
    font-weight: 600;
}

.auth-options a:hover {
    text-decoration: underline;
}

/*=====================================
Footer Links
=====================================*/
.auth-footer {
    margin-top: 30px;
    text-align: center;
    color: #666;
}

.auth-footer a {
    color: #0f4c81;
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/*=====================================
Responsive
=====================================*/
@media(max-width:991px) {
    .auth-wrapper {
        grid-template-columns: 1fr;
    }

    .auth-brand {
        display: none;
    }

    .auth-form-wrapper {
        padding: 40px 25px;
    }
}

@media(max-width:576px) {
    .auth-page {
        padding: 15px;
    }

    .auth-form h2 {
        font-size: 28px;
    }

    .form-control {
        height: 54px;
    }

    .btn-auth,
    .btn-outline-auth {
        height: 54px;
    }
}

/*=====================================
Buttons
=====================================*/
.btn-auth {
    width: 100%;
    height: 58px;
    border: none;
    border-radius: 15px;
    background: linear-gradient(135deg, #0f4c81, #4dabf7);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    transition: .35s;
}

.btn-auth:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(255, 77, 126, .30);
}

.btn-outline-auth {
    width: 100%;
    height: 58px;
    margin-top: 15px;
    border-radius: 15px;
    border: 2px solid #0f4c81;
    background: #fff;
    color: #0f4c81;
    font-weight: 600;
    transition: .3s;
}

.btn-outline-auth:hover {
    background: #0f4c81;
    color: #fff;
}

/*=====================================
Password Toggle
=====================================*/
.input-group {
    position: relative;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #888;
    z-index: 10;
    transition: .3s;
}

.password-toggle:hover {
    color: var(--primary);
}

.password-toggle i {
    font-size: 20px;
    pointer-events: none;
}