/* =========================================================
   GOKRIPADHAM ADMIN LOGIN
========================================================= */

.admin-login-page {

    min-height: 100vh;

    margin: 0;

    background: var(--background);

    color: var(--text);

}


/* =========================================================
   WRAPPER
========================================================= */

.admin-login-wrapper {

    display: flex;

    align-items: center;

    justify-content: center;

}


/* =========================================================
   LOGIN CARD
========================================================= */

.admin-login-card {

    width: 100%;

    height: 100vh;

    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    background: var(--surface);

    overflow: hidden;

    box-shadow: var(--shadow);

}


/* =========================================================
   LEFT INTRO PANEL
========================================================= */

.admin-login-intro {

    position: relative;

    display: flex;

    flex-direction: column;

    padding: 55px 65px;

    background: var(--sidebar-background);

    color: var(--sidebar-text);

}


/* =========================================================
   BRAND
========================================================= */

.login-brand {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    width: fit-content;

    text-decoration: none;

    color: var(--sidebar-text);

}


.login-brand img {

    display: block;

    width: auto;

    height: 52px;

    max-width: 190px;

    object-fit: contain;

}


.login-brand span {

    font-family: var(--font-heading);

    font-size: 22px;

    font-weight: 700;

    white-space: nowrap;

}


/* =========================================================
   INTRO CONTENT
========================================================= */

.login-intro-content {

    width: min(100%, 570px);

    margin: auto 0;

}


.login-intro-label {

    display: inline-block;

    margin-bottom: 20px;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

    color: var(--accent);

}


.login-intro-content h1 {

    margin: 0;

    font-family: var(--font-heading);

    font-size: clamp(38px, 4vw, 58px);

    line-height: 1.08;

    font-weight: 700;

    color: var(--sidebar-text);

}


.login-intro-content h1 span {

    color: var(--primary);

}


.login-intro-content > p {

    max-width: 530px;

    margin: 24px 0 38px;

    font-size: 15px;

    line-height: 1.8;

    color: var(--sidebar-muted);

}


/* =========================================================
   FEATURES
========================================================= */

.login-features {

    display: flex;

    flex-direction: column;

    gap: 19px;

}


.login-feature {

    display: flex;

    align-items: center;

    gap: 15px;

}


.login-feature-icon {

    width: 44px;

    height: 44px;

    flex: 0 0 44px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 10px;

    background: var(--sidebar-hover);

    color: var(--primary);

}


.login-feature strong {

    display: block;

    margin-bottom: 4px;

    font-size: 14px;

    font-weight: 600;

    color: var(--sidebar-text);

}


.login-feature span {

    display: block;

    font-size: 12px;

    line-height: 1.5;

    color: var(--sidebar-muted);

}


/* =========================================================
   LEFT FOOTER
========================================================= */

.login-intro-footer {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 30px;

    font-size: 12px;

    color: var(--sidebar-muted);

}


.login-intro-footer i {

    color: var(--accent);

}


/* =========================================================
   RIGHT FORM PANEL
========================================================= */

.admin-login-form-panel {

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 50px 70px;

    background: var(--surface);

}


/* =========================================================
   FORM CONTAINER
========================================================= */

.admin-login-form-container {

    width: min(420px, 100%);

}


/* =========================================================
   LOGIN HEADER
========================================================= */

.admin-login-header {

    margin-bottom: 32px;

}


.login-welcome {

    display: block;

    margin-bottom: 9px;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 0.3px;

    color: var(--primary);

}


.admin-login-header h2 {

    margin: 0;

    font-family: var(--font-heading);

    font-size: 36px;

    line-height: 1.15;

    font-weight: 700;

    color: var(--text);

}


.admin-login-header p {

    max-width: 380px;

    margin: 12px 0 0;

    font-size: 14px;

    line-height: 1.65;

    color: var(--text-muted);

}


/* =========================================================
   ERROR
========================================================= */

.admin-login-error {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-bottom: 22px;

    padding: 13px 15px;

    border: 1px solid rgba(217, 83, 79, 0.25);

    border-radius: 10px;

    background: rgba(217, 83, 79, 0.08);

    color: var(--danger);

    font-size: 13px;

    line-height: 1.5;

}


.admin-login-error i {

    margin-top: 2px;

    flex-shrink: 0;

}


/* =========================================================
   FORM
========================================================= */

.admin-login-form {

    display: flex;

    flex-direction: column;

    gap: 21px;

}


.form-group {

    display: flex;

    flex-direction: column;

    gap: 8px;

}


.form-group label {

    font-size: 13px;

    font-weight: 600;

    color: var(--text);

}


/* =========================================================
   INPUT WRAPPER
========================================================= */

.input-wrapper {

    position: relative;

}


/* =========================================================
   INPUT ICON
========================================================= */

.input-wrapper > i {

    position: absolute;

    top: 50%;

    left: 16px;

    transform: translateY(-50%);

    color: var(--text-muted);

    font-size: 14px;

    pointer-events: none;

}


/* =========================================================
   INPUT
========================================================= */

.input-wrapper input {

    width: 100%;

    height: 50px;

    box-sizing: border-box;

    padding: 0 48px 0 45px;

    border: 1px solid var(--border);

    border-radius: 10px;

    outline: none;

    background: var(--surface);

    color: var(--text);

    font-family: var(--font-family);

    font-size: 14px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;

}


.input-wrapper input::placeholder {

    color: var(--text-muted);

}


.input-wrapper input:focus {

    border-color: var(--primary);

    box-shadow: 0 0 0 3px var(--primary-light);

}


/* =========================================================
   PASSWORD TOGGLE
========================================================= */

.password-toggle {

    position: absolute;

    top: 50%;

    right: 9px;

    width: 34px;

    height: 34px;

    transform: translateY(-50%);

    display: flex;

    align-items: center;

    justify-content: center;

    border: 0;

    border-radius: 7px;

    background: transparent;

    color: var(--text-muted);

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;

}


.password-toggle:hover {

    background: var(--primary-light);

    color: var(--primary);

}


/* =========================================================
   LOGIN BUTTON
========================================================= */

.admin-login-button {

    width: 100%;

    height: 51px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 11px;

    margin-top: 4px;

    border: 0;

    border-radius: 10px;

    background: var(--button);

    color: var(--button-text);

    font-family: var(--font-family);

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;

}


.admin-login-button:hover {

    background: var(--primary-dark);

    transform: translateY(-1px);

    box-shadow: var(--shadow);

}


.admin-login-button:active {

    transform: translateY(0);

}


/* =========================================================
   CUSTOMER SITE LINK
========================================================= */

.login-site-link {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;

    margin-top: 30px;

    font-size: 12px;

    color: var(--text-muted);

}


.login-site-link a {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: var(--primary);

    font-size: 13px;

    font-weight: 600;

    text-decoration: none;

    transition: color 0.2s ease;

}


.login-site-link a:hover {

    color: var(--primary-dark);

}