/* Orich POS — auth pages (split login layout) */

.or-auth-split {
    min-height: 100vh;
    margin: 0;
    background: #fff;
}

.or-auth-split-layout {
    display: flex;
    min-height: 100vh;
}

/* Left — form panel */
.or-auth-split-form {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem;
    background: #fff;
}

.or-auth-split-form-inner {
    width: 100%;
    max-width: 400px;
}

.or-auth-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.or-auth-logo {
    display: inline-block;
    margin-bottom: 1.25rem;
}

.or-auth-logo img {
    height: 72px;
    width: auto;
    object-fit: contain;
}

.or-auth-header {
    margin-bottom: 0;
    text-align: center;
}

.or-auth-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1d21;
    margin: 0 0 0.5rem;
    letter-spacing: -0.03em;
}

.or-auth-header p {
    color: #868e96;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.or-auth-field {
    margin-bottom: 1.25rem;
}

.or-auth-field label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: #344054;
    margin-bottom: 0.45rem;
}

.or-auth-field label .text-danger {
    color: #d96651 !important;
}

.or-auth-field .form-control {
    padding: 0.7rem 0.95rem;
    border-radius: 10px;
    border-color: #e8eaed;
    font-size: 0.9rem;
    background: #fff;
}

.or-auth-field .form-control:focus {
    border-color: #0f9cf3;
    box-shadow: 0 0 0 3px rgba(15, 156, 243, 0.12);
}

.or-auth-password-wrap {
    position: relative;
}

.or-auth-password-wrap .form-control {
    padding-right: 2.75rem;
}

.or-auth-password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #adb5bd;
    padding: 0.25rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.or-auth-password-toggle:hover {
    color: #495057;
}

.or-auth-password-toggle i {
    font-size: 1.15rem;
}

.or-auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.or-auth-remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.or-auth-remember .form-check-input {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
    border-radius: 4px;
    border-color: #ced4da;
    cursor: pointer;
}

.or-auth-remember .form-check-input:checked {
    background-color: #d96651;
    border-color: #d96651;
}

.or-auth-remember label {
    font-size: 0.875rem;
    color: #495057;
    margin: 0;
    cursor: pointer;
    user-select: none;
    font-weight: 500;
}

.or-auth-forgot {
    font-size: 0.875rem;
    font-weight: 500;
    color: #0f9cf3;
    text-decoration: none;
    transition: color 0.15s;
}

.or-auth-forgot:hover {
    color: #0c7dc4;
}

.or-auth-back {
    text-align: center;
    margin-top: 1.5rem;
}

.or-auth-back a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #868e96;
    text-decoration: none;
    transition: color 0.15s;
}

.or-auth-back a:hover {
    color: #d96651;
}

.or-auth-submit {
    width: 100%;
    background: #d96651;
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
}

.or-auth-submit:hover {
    background: #c85a46;
    color: #fff;
    box-shadow: 0 6px 20px rgba(217, 102, 81, 0.35);
    transform: translateY(-1px);
}

.or-auth-submit:active {
    transform: translateY(0);
}

/* Right — background image only */
.or-auth-split-visual {
    flex: 1 1 50%;
    background-image: url('../images/login-bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
}

@media (max-width: 991px) {
    .or-auth-split-visual {
        display: none;
    }

    .or-auth-split-form {
        flex: 1 1 100%;
        min-height: 100vh;
    }
}

@media (max-width: 480px) {
    .or-auth-split-form {
        padding: 1.75rem 1.25rem;
    }

    .or-auth-header h1 {
        font-size: 1.5rem;
    }

    .or-auth-logo img {
        height: 56px;
    }
}
