﻿/* =========================================================
   LOGIN PAGE
   ========================================================= */

.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #edf4ff, #f8fafc);
}


/* Main Login Card */

.login-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15, 23, 42, .12);
}


/* Left Information Panel */

.login-info {
    background: linear-gradient(135deg, #0b1f3a, #123d6a);
    color: #fff;
    min-height: 560px;
    position: relative;
    overflow: hidden;
}

    .login-info::before {
        content: "";
        position: absolute;
        width: 280px;
        height: 280px;
        border-radius: 50%;
        background: rgba(255,255,255,.05);
        top: -100px;
        right: -100px;
    }

    .login-info::after {
        content: "";
        position: absolute;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        background: rgba(13,110,253,.12);
        bottom: -100px;
        left: -80px;
    }


.login-info-content {
    padding: 55px 45px;
    position: relative;
    z-index: 2;
}


/* Logo */

.login-logo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #fff;
    color: #0b1f3a;
    display: grid;
    place-items: center;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}


.login-info h2 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: .5px;
    margin-bottom: 8px;
}


.login-tagline {
    color: #dbeafe;
    font-size: 15px;
    margin-bottom: 25px;
}


.login-line {
    width: 55px;
    height: 3px;
    background: #0d6efd;
    border-radius: 10px;
    margin-bottom: 25px;
}


.login-description {
    color: #dbeafe;
    line-height: 1.7;
    font-size: 14px;
    margin-bottom: 35px;
}


/* Features */

.login-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}


    .login-feature > span {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: rgba(255,255,255,.12);
        display: grid;
        place-items: center;
        color: #fff;
        font-weight: 700;
    }


    .login-feature strong {
        display: block;
        font-size: 14px;
        margin-bottom: 3px;
    }


    .login-feature small {
        color: #bfdbfe;
        font-size: 12px;
    }


/* Right Login Form */

.login-form {
    padding: 55px 50px;
}


.login-title {
    font-size: 32px;
    font-weight: 800;
    color: #0b1f3a;
    margin-top: 8px;
    margin-bottom: 8px;
}


.login-subtitle {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 0;
}


.login-form .form-label {
    font-weight: 600;
    font-size: 14px;
    color: #334155;
}


/* Input */

.login-input {
    border-radius: 10px;
    overflow: hidden;
}


    .login-input .input-group-text {
        background: #f8fafc;
        border: 1px solid #dee2e6;
        border-right: 0;
        color: #64748b;
        padding-left: 15px;
        padding-right: 12px;
    }


    .login-input .form-control {
        border-left: 0;
        box-shadow: none;
    }


        .login-input .form-control:focus {
            border-color: #86b7fe;
            box-shadow: none;
        }


    .login-input:focus-within .input-group-text {
        border-color: #86b7fe;
    }


/* Password Toggle */

.password-toggle {
    background: #fff;
    border: 1px solid #dee2e6;
    border-left: 0;
    color: #64748b;
    padding: 0 14px;
}


    .password-toggle:hover {
        color: #0d6efd;
        background: #fff;
    }


/* Forgot Password */

.forgot-link {
    font-size: 13px;
    color: #0d6efd;
    text-decoration: none;
    font-weight: 600;
}


    .forgot-link:hover {
        text-decoration: underline;
    }


/* Login Button */

.login-btn {
    height: 50px;
    font-weight: 700;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(13,110,253,.20);
}


    .login-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 25px rgba(13,110,253,.25);
    }


/* Register */

.register-text {
    color: #64748b;
    font-size: 14px;
}


.register-link {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    margin-left: 4px;
}


    .register-link:hover {
        text-decoration: underline;
    }


/* Checkbox */

.login-form .form-check-input {
    cursor: pointer;
}


.login-form .form-check-label {
    color: #64748b;
    font-size: 13px;
    cursor: pointer;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 991.98px) {

    .login-page {
        padding: 40px 0;
    }

    .login-info {
        min-height: auto;
    }

    .login-info-content {
        padding: 40px 35px;
    }

    .login-form {
        padding: 40px 35px;
    }
}


@media (max-width: 575.98px) {

    .login-page {
        padding: 20px 10px;
    }

    .login-card {
        border-radius: 18px;
    }

    .login-info-content {
        padding: 35px 25px;
    }

    .login-form {
        padding: 35px 25px;
    }

    .login-info h2 {
        font-size: 23px;
    }

    .login-title {
        font-size: 27px;
    }
}
