﻿@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter_18pt-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter_18pt-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter_18pt-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter_18pt-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}


@font-face {
    font-family: 'Cormorant Garamond';
    src: url('/fonts/CormorantGaramond-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('/fonts/CormorantGaramond-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('/fonts/CormorantGaramond-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    background: #1a120b;
}

/* =====================================
           MAIN LOGIN WRAPPER
        ===================================== */

.login-wrapper {
    min-height: 100vh;
    background: linear-gradient(90deg, rgb(15 10 6 / 64%) 0%, rgb(15 10 6 / 48%) 42%, rgba(15, 10, 6, 0.35) 100%), url("../images/login-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px;
}


    /* =====================================
           GOLD BORDER
        ===================================== */

    .login-wrapper::before {
        content: "";
        position: absolute;
        top: 14px;
        left: 14px;
        right: 14px;
        bottom: 14px;
        border: 1px solid rgba(212, 158, 63, 0.65);
        border-radius: 12px;
        pointer-events: none;
    }


/* =====================================
           MAIN CONTAINER
        ===================================== */

.login-container {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: 70px;
    align-items: center;
    position: relative;
    z-index: 2;
}


/* =====================================
           LEFT CONTENT
        ===================================== */

.welcome-section {
    color: white;
    max-width: 560px;
    padding-left: 25px;
}

.brand-small {
    color: #d6a449;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.welcome-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 64px;
    line-height: 0.95;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

    .welcome-title span {
        color: #d5a14b;
    }

.welcome-description {
    color: rgba(255,255,255,0.72);
    font-size: 16px;
    line-height: 1.8;
    max-width: 500px;
    margin-bottom: 35px;
}


/* =====================================
           FEATURES
        ===================================== */

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 500px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(8px);
    color: rgba(255,255,255,0.85);
    font-size: 13px;
}

.feature-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #d6a449;
    background: rgba(214,164,73,0.12);
    border: 1px solid rgba(214,164,73,0.35);
    font-size: 16px;
}


/* =====================================
           LOGIN CARD
        ===================================== */

.login-card {
    background: rgba(255,255,255,0.97);
    border-radius: 22px;
    padding: 42px 40px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.40);
    position: relative;
    overflow: hidden;
}

    .login-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient( 90deg, #8b5a1f, #d6a449, #8b5a1f );
    }


/* =====================================
           LOGO
        ===================================== */

.logo-area {
    text-align: center;
    margin-bottom: 25px;
}

.logo-icon {
    width: 62px;
    height: 62px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid #c9963d;
    color: #9a691f;
    font-size: 28px;
    background: #fffaf1;
    box-shadow: 0 5px 18px rgba(157,105,31,0.15);
    margin-bottom: 12px;
}

.logo-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #21170f;
    line-height: 1;
}

.logo-subtitle {
    color: #b17b2c;
    font-size: 11px;
    letter-spacing: 4px;
    font-weight: 700;
    margin-top: 7px;
}

.login-heading {
    text-align: center;
    font-size: 14px;
    color: #777;
    margin-top: 20px;
    margin-bottom: 25px;
}


/* =====================================
           FORM
        ===================================== */

.form-group {
    margin-bottom: 18px;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: #40372f;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #b17b2c;
    font-size: 17px;
    z-index: 2;
}

.form-control-custom {
    width: 100%;
    height: 50px;
    border: 1px solid #ddd5ca;
    border-radius: 10px;
    padding: 0 45px;
    font-size: 14px;
    color: #29231e;
    outline: none;
    background: #fff;
    transition: all 0.25s ease;
}

    .form-control-custom:focus {
        border-color: #c9963d;
        box-shadow: 0 0 0 4px rgba(201,150,61,0.10);
    }

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #8e857b;
    cursor: pointer;
    font-size: 17px;
}


/* =====================================
           REMEMBER / FORGOT
        ===================================== */

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px 0 22px;
    font-size: 12px;
}

.remember-box {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #777;
}

    .remember-box input {
        accent-color: #b17b2c;
    }

.forgot-link {
    color: #ad7622;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
}

    .forgot-link:hover {
        color: #7d5014;
    }


/* =====================================
           LOGIN BUTTON
        ===================================== */

.btn-login {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient( 135deg, #8b5a1f, #d3a044, #9a681f );
    box-shadow: 0 8px 20px rgba(139,90,31,0.25);
    transition: all 0.25s ease;
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(139,90,31,0.35);
    }

    .btn-login i {
        margin-right: 8px;
    }


/* =====================================
           ERROR
        ===================================== */

.validation-summary-errors {
    color: #c0392b;
    background: #fff1f0;
    border: 1px solid #f2c7c3;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 12px;
    margin-bottom: 15px;
}


/* =====================================
           ROLE ACCESS
        ===================================== */

.role-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 25px 0 15px;
    color: #aaa;
    font-size: 11px;
}

    .role-divider::before,
    .role-divider::after {
        content: "";
        flex: 1;
        height: 1px;
        background: #e5e0da;
    }

.role-title {
    text-align: center;
    color: #8b8178;
    font-size: 11px;
    margin-bottom: 15px;
}

.role-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.role-item {
    text-align: center;
    color: #746b62;
    font-size: 9px;
}

.role-icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #a87325;
    border: 1px solid #ead9bd;
    background: #fffaf1;
    font-size: 16px;
}
a.forgot-link-a {
    text-decoration: none;
    color: black;
}
.forgot-link-a span {
    color: #d5a14b;
}
/* =====================================
           FOOTER
        ===================================== */
.login-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 18px;
    /*border-top: 1px solid #eee8e1;*/
    font-size: 10px;
    color: #aaa;
}


/* =========================================
   RESPONSIVE DESIGN
   ========================================= */


/* =========================================
   LARGE TABLET / SMALL LAPTOP
   1200px and below
========================================= */

@media (max-width: 1200px) {

    .login-container {
        max-width: 1050px;
        grid-template-columns: 1fr 430px;
        gap: 45px;
    }

    .welcome-title {
        font-size: 58px;
    }

    .welcome-section {
        padding-left: 15px;
    }
}


/* =========================================
   TABLET
   992px and below
========================================= */

@media (max-width: 992px) {

    .login-wrapper {
        min-height: 100vh;
        padding: 30px;
    }

    .login-container {
        max-width: 520px;
        display: block;
    }

    /* Hide left content */
    .welcome-section {
        display: none;
    }

    .login-card {
        width: 100%;
        padding: 40px 38px;
    }
}


/* =========================================
   MOBILE
   768px and below
========================================= */

@media (max-width: 768px) {

    body {
        min-height: 100dvh;
    }

    .login-wrapper {
        min-height: 100dvh;
        padding: 25px 18px;
        align-items: center;
        background: linear-gradient( 90deg, rgba(15, 10, 6, 0.70), rgba(15, 10, 6, 0.55) ), url('/images/login-bg.jpg');
        background-size: cover;
        background-position: center;
    }


        /* Gold Border */

        .login-wrapper::before {
            top: 9px;
            left: 9px;
            right: 9px;
            bottom: 9px;
            border: none !important;
        }


    /* Login Container */

    .login-container {
        width: 100%;
        max-width: 470px;
        margin: 0 auto;
    }


    /* Login Card */

    .login-card {
        width: 100%;
        padding: 34px 28px;
        border-radius: 18px;
        box-shadow: 0 20px 50px rgba(0,0,0,0.38);
    }


    /* Logo */

    .logo-area {
        margin-bottom: 20px;
    }

    .logo-icon {
        width: 56px;
        height: 56px;
        font-size: 25px;
        margin-bottom: 10px;
    }

    .logo-title {
        font-size: 27px;
    }

    .logo-subtitle {
        font-size: 10px;
        letter-spacing: 3.5px;
    }


    /* Heading */

    .login-heading {
        font-size: 13px;
        margin-top: 15px;
        margin-bottom: 22px;
    }


    /* Form */

    .form-group {
        margin-bottom: 16px;
    }

    .form-label {
        font-size: 12px;
        margin-bottom: 7px;
    }


    /* Input */

    .form-control-custom {
        height: 48px;
        font-size: 13px;
        padding-left: 44px;
        padding-right: 44px;
    }


    .input-icon {
        left: 14px;
        font-size: 16px;
    }


    .password-toggle {
        right: 13px;
        font-size: 16px;
    }


    /* Remember / Forgot */

    .login-options {
        margin-top: 3px;
        margin-bottom: 20px;
        font-size: 11px;
    }


    /* Login Button */

    .btn-login {
        height: 49px;
        font-size: 13px;
    }


    /* Role Section */

    .role-divider {
        margin-top: 22px;
        margin-bottom: 13px;
    }

    .role-title {
        font-size: 10px;
        margin-bottom: 13px;
    }

    .role-list {
        grid-template-columns: repeat(4, 1fr);
        gap: 5px;
    }

    .role-item {
        font-size: 8px;
        white-space: nowrap;
    }

    .role-icon {
        width: 38px;
        height: 38px;
        font-size: 14px;
        margin-bottom: 6px;
    }


    /* Footer */

    .login-footer {
        margin-top: 20px;
        padding-top: 15px;
        font-size: 9px;
    }
}


/* =========================================
   MOBILE
   576px and below
========================================= */

@media (max-width: 576px) {

    .login-wrapper {
        padding: 20px 14px;
        background-position: center center;
    }


    .login-container {
        max-width: 100%;
    }


    .login-card {
        padding: 30px 22px;
        border-radius: 16px;
    }


    /* Logo */

    .logo-icon {
        width: 52px;
        height: 52px;
        font-size: 23px;
    }

    .logo-title {
        font-size: 25px;
        letter-spacing: 0.8px;
    }

    .logo-subtitle {
        font-size: 9px;
        letter-spacing: 3px;
    }


    .login-heading {
        font-size: 12px;
        margin-top: 13px;
        margin-bottom: 20px;
    }


    /* Inputs */

    .form-control-custom {
        height: 47px;
        border-radius: 9px;
        font-size: 13px;
    }


    /* Login options */

    .login-options {
        font-size: 10px;
    }


    .remember-box {
        gap: 5px;
    }


    .forgot-link {
        font-size: 10px;
    }


    /* Role */

    .role-list {
        gap: 2px;
    }

    .role-icon {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .role-item {
        font-size: 7.5px;
    }


    /* Footer */

    .login-footer {
        font-size: 8px;
    }
}


/* =========================================
   SMALL MOBILE
   420px and below
========================================= */

@media (max-width: 420px) {

    .login-wrapper {
        padding: 15px 10px;
    }


    .login-card {
        padding: 27px 18px;
        border-radius: 15px;
    }


    .logo-icon {
        width: 48px;
        height: 48px;
        font-size: 21px;
        margin-bottom: 8px;
    }


    .logo-title {
        font-size: 23px;
    }


    .logo-subtitle {
        font-size: 8px;
        letter-spacing: 2.5px;
    }


    .login-heading {
        margin-bottom: 18px;
    }


    .form-group {
        margin-bottom: 14px;
    }


    .form-control-custom {
        height: 45px;
        font-size: 12px;
        padding-left: 42px;
        padding-right: 42px;
    }


    .input-icon {
        left: 13px;
        font-size: 15px;
    }


    .password-toggle {
        right: 12px;
        font-size: 15px;
    }


    .btn-login {
        height: 47px;
        font-size: 12px;
    }


    .role-divider {
        margin-top: 20px;
    }


    .role-icon {
        width: 33px;
        height: 33px;
        font-size: 12px;
    }


    .role-item {
        font-size: 7px;
    }
}


/* =========================================
   VERY SMALL MOBILE
   360px and below
========================================= */

@media (max-width: 360px) {

    .login-wrapper {
        padding: 12px 8px;
    }


    .login-card {
        padding: 24px 15px;
    }


    .logo-title {
        font-size: 21px;
    }


    .logo-subtitle {
        font-size: 7px;
        letter-spacing: 2px;
    }


    .login-heading {
        font-size: 11px;
    }


    .form-label {
        font-size: 11px;
    }


    .form-control-custom {
        height: 43px;
        font-size: 11px;
    }


    .login-options {
        font-size: 9px;
    }


    .forgot-link {
        font-size: 9px;
    }


    .btn-login {
        height: 45px;
        font-size: 11px;
    }


    .role-icon {
        width: 30px;
        height: 30px;
        font-size: 11px;
    }


    .role-item {
        font-size: 6.5px;
    }


    .login-footer {
        font-size: 7px;
    }
}

