/*
|--------------------------------------------------------------------------
| AjeVille Login Page
|--------------------------------------------------------------------------
*/

:root {
    --primary-purple: #0C3020;
    --primary-purple-dark: #124E34;
    --primary-purple-light: #FFD700;

    --text-dark: #343a40;
    --text-muted: #6c757d;
    --border-color: #d7dce1;

    --white: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Page
|--------------------------------------------------------------------------
*/

html, body { width: 100%; height: 100%; margin: 0;}

body {
    font-family: "Source Sans Pro", "Segoe UI", Arial, sans-serif;
    background: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Main Container
|--------------------------------------------------------------------------
*/

.login-page-custom {
    width: 100%;
    min-height: 100vh;
    background: #ffffff;
}

.login-container {
    width: 100%;
    min-height: 100vh;

    display: flex;
    flex-direction: row;
}


/*
|--------------------------------------------------------------------------
| LEFT VISUAL PANEL
|--------------------------------------------------------------------------
*/

.login-visual {
    position: relative;

    width: 54%;
    min-height: 100vh;

    overflow: hidden;

    /*
     * Purple background similar to the reference image.
     *
     * You can replace this with an actual background image:
     *
     * background-image: url('../images/login-background.jpg');
     */
    background:
        linear-gradient(
            135deg,
            rgba(0, 100, 0, 0.96),
            rgba(1, 50, 32, 0.88)
        ),
        radial-gradient(
            circle at 70% 25%,
            rgba(255, 255, 255, 0.12),
            transparent 35%
        );

    color: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Decorative background
|--------------------------------------------------------------------------
*/

.login-visual::before {
    content: "";

    position: absolute;

    width: 650px;
    height: 650px;

    right: -300px;
    top: -220px;

    border-radius: 50%;

    border: 80px solid rgba(255, 255, 255, 0.035);
}

.login-visual::after {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    left: -300px;
    bottom: -280px;

    border-radius: 50%;

    border: 70px solid rgba(255, 255, 255, 0.035);
}


/*
|--------------------------------------------------------------------------
| Overlay
|--------------------------------------------------------------------------
*/

.visual-overlay {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            to bottom,
            rgba(50, 4, 25, 0.10),
            rgba(50, 4, 25, 0.38)
        );
}


/*
|--------------------------------------------------------------------------
| Visual Content
|--------------------------------------------------------------------------
*/

.visual-content {
    position: relative;
    z-index: 2;

    min-height: 100vh;

    display: flex;
    flex-direction: column;

    justify-content: space-between;

    padding: 55px 70px;
}


/*
|--------------------------------------------------------------------------
| Visual Logo
|--------------------------------------------------------------------------
*/

.visual-logo {
    display: flex;
    align-items: center;
}

.logo-mark {
    width: 48px;
    height: 48px;

    border: 2px solid rgba(255, 255, 255, 0.9);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 15px;
    font-weight: 700;

    margin-right: 12px;
}

.logo-text {
    display: flex;
    flex-direction: column;

    line-height: 1.15;
}

.logo-text strong {
    font-size: 20px;
    font-weight: 700;
}

.logo-text span {
    font-size: 11px;
    opacity: 0.8;
    letter-spacing: 0.5px;
}


/*
|--------------------------------------------------------------------------
| Visual Bottom Content
|--------------------------------------------------------------------------
*/

.visual-bottom {
    max-width: 500px;
}

.visual-bottom h2 {
    margin: 0;

    font-size: 27px;
    font-weight: 700;
}

.visual-subtitle {
    margin-top: 5px;
    margin-bottom: 28px;

    font-size: 16px;

    opacity: 0.92;
}


/*
|--------------------------------------------------------------------------
| Contact Details
|--------------------------------------------------------------------------
*/

.contact-details {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;

    font-size: 15px;
}

.contact-item i {
    width: 28px;

    font-size: 17px;
}

.contact-item span {
    white-space: nowrap;
}


/*
|--------------------------------------------------------------------------
| Social Links
|--------------------------------------------------------------------------
*/

.social-links {
    display: flex;

    margin-top: 28px;
}

.social-links a {
    width: 38px;
    height: 38px;

    margin-right: 13px;

    border-radius: 50%;

    background: #ffffff;

    color: var(--primary-purple);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;

    transition: all 0.2s ease;
}

.social-links a:hover {
    text-decoration: none;

    transform: translateY(-3px);

    background: var(--primary-purple-dark);

    color: #ffffff;
}


/*
|--------------------------------------------------------------------------
| RIGHT FORM PANEL
|--------------------------------------------------------------------------
*/

.login-form-panel {
    width: 46%;
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    background: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Form Wrapper
|--------------------------------------------------------------------------
*/

.login-form-wrapper {
    width: 100%;
    max-width: 460px;

    padding: 50px 30px;
}


/*
|--------------------------------------------------------------------------
| Website Link
|--------------------------------------------------------------------------
*/

.website-link {
    text-align: center;

    margin-bottom: 42px;
}

.website-link a {
    color: var(--primary-purple);

    font-size: 16px;
    font-weight: 600;

    text-decoration: none;
}

.website-link a:hover {
    color: var(--primary-purple-dark);
    text-decoration: underline;
}


/*
|--------------------------------------------------------------------------
| Login Brand
|--------------------------------------------------------------------------
*/

.login-brand {
    margin-bottom: 38px;
}

.brand-logo {
    display: flex;
    align-items: center;
}

.brand-logo-symbol {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    /* border: 3px solid var(--primary-purple); */

    color: var(--primary-purple);

    font-size: 17px;
    font-weight: 800;

    margin-right: 14px;
}

.brand-name {
    display: flex;
    flex-direction: column;

    line-height: 1.1;
}

.brand-name strong {
    color: #343a40;

    font-size: 22px;
    font-weight: 700;
}

.brand-name span {
    color: #777777;

    margin-top: 4px;

    font-size: 11px;
    letter-spacing: 0.5px;
}


/*
|--------------------------------------------------------------------------
| Heading
|--------------------------------------------------------------------------
*/

.login-heading {
    margin-bottom: 34px;
}

.login-heading h1 {
    margin: 0;

    color: #343a40;

    font-size: 27px;
    font-weight: 700;
}

.heading-line {
    width: 43px;
    height: 4px;

    margin-top: 13px;

    background: var(--primary-purple);
}


/*
|--------------------------------------------------------------------------
| Form
|--------------------------------------------------------------------------
*/

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;

    margin-bottom: 10px;

    color: #555555;

    font-size: 15px;
    font-weight: 600;
}


/*
|--------------------------------------------------------------------------
| Inputs
|--------------------------------------------------------------------------
*/

.form-control {
    height: 52px;

    padding: 12px 14px;

    border: 1px solid var(--border-color);

    border-radius: 5px;

    color: #495057;

    font-size: 15px;

    box-shadow: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary-purple);

    box-shadow:
        0 0 0 0.15rem rgba(181, 31, 90, 0.12);
}

.form-control::placeholder {
    color: #a0a5aa;
}


/*
|--------------------------------------------------------------------------
| Password Row
|--------------------------------------------------------------------------
*/

.password-label-row {
    display: flex;

    justify-content: space-between;
    align-items: center;
}

.password-label-row label {
    margin-bottom: 10px;
}

.forgot-password {
    margin-bottom: 10px;

    color: var(--primary-purple);

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
}

.forgot-password:hover {
    color: var(--primary-purple-dark);
    text-decoration: underline;
}


/*
|--------------------------------------------------------------------------
| Password Toggle
|--------------------------------------------------------------------------
*/

.input-group .form-control {
    border-right: 0;
}

.input-group-append {
    margin-left: 0;
}

.password-toggle {
    width: 52px;

    border: 1px solid var(--border-color);
    border-left: 0;

    background: #ffffff;

    color: #8b8b8b;

    cursor: pointer;

    outline: none;
}

.password-toggle:hover {
    color: var(--primary-purple);
}

.password-toggle:focus {
    outline: none;
}


/*
|--------------------------------------------------------------------------
| Remember Me
|--------------------------------------------------------------------------
*/

.form-options {
    margin-top: -5px;
    margin-bottom: 25px;
}

.custom-control-label {
    color: #777777;

    font-size: 14px;
    font-weight: 400 !important;
}

.custom-control-input:checked ~ .custom-control-label::before {
    border-color: var(--primary-purple);
    background-color: var(--primary-purple);
}


/*
|--------------------------------------------------------------------------
| Login Button
|--------------------------------------------------------------------------
*/

.btn-login {
    height: 52px;

    border: 0;

    border-radius: 5px;

    background: var(--primary-purple);

    color: #ffffff;

    font-size: 15px;
    font-weight: 700;

    box-shadow:
        0 3px 7px rgba(181, 31, 90, 0.18);

    transition: all 0.2s ease;
}

.btn-login:hover,
.btn-login:focus {
    background: var(--primary-purple-dark);

    color: #ffffff;

    box-shadow:
        0 5px 12px rgba(181, 31, 90, 0.25);

    transform: translateY(-1px);
}


/*
|--------------------------------------------------------------------------
| Register
|--------------------------------------------------------------------------
*/

.register-text {
    margin-top: 34px;

    text-align: center;

    color: #555555;

    font-size: 15px;
}

.register-text a {
    margin-left: 4px;

    color: var(--primary-purple);

    font-weight: 700;

    text-decoration: none;
}

.register-text a:hover {
    color: var(--primary-purple-dark);

    text-decoration: underline;
}


/*
|--------------------------------------------------------------------------
| Footer
|--------------------------------------------------------------------------
*/

.login-footer {
    margin-top: 50px;

    text-align: center;

    color: #aaaaaa;

    font-size: 12px;
}


/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 991.98px) {

    .login-visual {
        width: 45%;
    }

    .login-form-panel {
        width: 55%;
    }

    .visual-content {
        padding: 45px 35px;
    }

    .login-form-wrapper {
        padding: 40px 25px;
    }

    .contact-details {
        flex-direction: column;
        gap: 12px;
    }

}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 767.98px) {

    .login-container {
        display: block;
    }

    /*
     * Hide the visual panel on phones.
     * The reference design's important content is the login form,
     * so we give the form the entire screen.
     */
    .login-visual {
        display: none;
    }

    .login-form-panel {
        width: 100%;
        min-height: 100vh;

        align-items: flex-start;
    }

    .login-form-wrapper {
        max-width: 500px;

        margin: 0 auto;

        padding: 45px 25px;
    }

}


/*
|--------------------------------------------------------------------------
| Small Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 375px) {

    .login-form-wrapper {
        padding: 35px 20px;
    }

    .website-link {
        margin-bottom: 32px;
    }

    .login-heading h1 {
        font-size: 24px;
    }

    .password-label-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .forgot-password {
        margin-top: -4px;
    }

}

/* =========================================
   Registration Page
   ========================================= */

.register-form-wrapper {max-width: 560px;}

.register-intro {margin: 8px 0 0; color: #777; font-size: 14px;}

.account-type-selection {margin-bottom: 22px;}

.account-type-option {position: relative; margin-bottom: 10px;}

.account-type-radio {position: absolute; opacity: 0;}

.account-type-card {
    display: flex;
    align-items: center;
    position: relative;
    padding: 15px;
    margin: 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.account-type-card:hover {
    border-color: #D4AF37;
    background: #faf7fd;
}

.account-type-radio:checked + .account-type-card {
    border-color: #D4AF37;
    background: #faf7fd;
    box-shadow: 0 0 0 1px #D4AF37;
}

.account-type-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 13px;
    border-radius: 6px;
    background: #f1e8f8;
    color: #D4AF37;
    font-size: 18px;
}

.account-type-content {
    display: flex;
    flex-direction: column;
    padding-right: 25px;
}

.account-type-content strong {
    color: #333;
    font-size: 15px;
    margin-bottom: 3px;
}

.account-type-content span {
    color: #777;
    font-size: 12px;
    line-height: 1.4;
}

.account-type-check {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    color: #D4AF37;
}

.account-type-radio:checked + .account-type-card
.account-type-check {
    display: block;
}


/* Registration Sections */

.registration-section {
    margin-bottom: 20px;
}

.registration-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.registration-section-title i {
    color: #D4AF37;
}


/* Optional Field */

.form-group label small {
    color: #999;
    font-weight: normal;
}


/* Password Toggle */

.password-toggle {
    border: 1px solid #ced4da;
    border-left: 0;
    background: #fff;
    color: #777;
    padding: 0 13px;
}

.password-toggle:hover {
    color: #D4AF37;
    background: #fafafa;
}

.password-toggle:focus {
    outline: none;
    box-shadow: none;
}


/* Links */

.register-form-wrapper a {
    color: #0C3020;
}

.register-form-wrapper a:hover {
    color: #124E34;
}


/* Mobile */

@media (max-width: 767.98px) {

    .register-form-wrapper {
        max-width: 100%;
    }

    .account-type-card {
        padding: 12px;
    }

    .account-type-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 16px;
    }

    .account-type-content span {
        font-size: 11px;
    }

}