/* decimalPOS Premium Authentication Pages */

:root {
    --brand-cyan: #00BCD4;
    --brand-cyan-light: #B2EBF2;
    --brand-cyan-dark: #0097A7;
    --brand-navy: #1E3A5F;
    --brand-navy-dark: #0D1F34;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --medium-gray: #9E9E9E;
    --dark-gray: #424242;
}

/* Full Height Auth Container */
.auth-container {
    min-height: 100vh;
    display: flex;
    background: linear-gradient(135deg, #E8F4F8 0%, #B2EBF2 50%, #E8F4F8 100%);
    position: relative;
    overflow: hidden;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.auth-container::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(30, 58, 95, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

/* Auth Grid Layout */
.auth-grid {
    display: flex;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Centered Auth Layout */
.auth-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

/* Centered Logo */
.auth-logo-centered {
    text-align: center;
    margin-bottom: 40px;
}

.auth-logo-centered .auth-logo-text {
    font-size: 48px;
    font-weight: 800;
    color: var(--brand-navy);
    letter-spacing: -1px;
    text-shadow: 0 2px 8px rgba(0, 188, 212, 0.15);
}

.auth-logo-centered .auth-logo-accent {
    color: var(--brand-cyan);
}

/* Left Brand Panel */
.auth-brand-panel {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.auth-logo {
    margin-bottom: 40px;
}

.auth-logo-text {
    font-size: 48px;
    font-weight: 800;
    color: var(--brand-navy);
    letter-spacing: -1px;
    text-shadow: 0 2px 8px rgba(0, 188, 212, 0.15);
}

.auth-logo-accent {
    color: var(--brand-cyan);
}

.auth-brand-content h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 16px;
    line-height: 1.2;
}

.auth-brand-content p {
    font-size: 18px;
    color: var(--brand-navy);
    opacity: 0.8;
    margin-bottom: 40px;
    line-height: 1.6;
}

.auth-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.auth-features li {
    font-size: 16px;
    color: var(--brand-navy);
    margin-bottom: 16px;
    padding-left: 32px;
    position: relative;
}

.auth-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-cyan);
    font-weight: bold;
    font-size: 20px;
}

/* Right Form Panel */
.auth-form-panel {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.auth-form-container {
    width: 100%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 60px rgba(0, 188, 212, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: slideInRight 0.6s ease-out;
}

.auth-form-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-form-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 8px;
}

.auth-form-header p {
    font-size: 15px;
    color: var(--medium-gray);
}

/* Premium Form Styles */
.premium-form-group {
    margin-bottom: 24px;
}

.premium-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-navy);
    margin-bottom: 8px;
}

.premium-form-control {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    color: var(--dark-gray);
    background: white;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.premium-form-control:focus {
    outline: none;
    border-color: var(--brand-cyan);
    box-shadow: 0 0 0 4px rgba(0, 188, 212, 0.1);
    background: white;
}

.premium-form-control::placeholder {
    color: #94A3B8;
}

.premium-form-control.is-invalid {
    border-color: #F44336;
}

.premium-form-control.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(244, 67, 54, 0.1);
}

.invalid-feedback {
    display: block;
    color: #F44336;
    font-size: 13px;
    margin-top: 6px;
}

/* Premium Checkbox */
.premium-checkbox {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.premium-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: var(--brand-cyan);
}

.premium-checkbox label {
    margin: 0;
    font-size: 14px;
    color: var(--dark-gray);
    cursor: pointer;
}

/* Premium Buttons */
.premium-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.premium-btn-primary {
    background: linear-gradient(135deg, var(--brand-cyan) 0%, #0097A7 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 188, 212, 0.3);
}

.premium-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 188, 212, 0.4);
}

.premium-btn-secondary {
    background: white;
    color: var(--brand-navy);
    border: 2px solid #E2E8F0;
}

.premium-btn-secondary:hover {
    background: var(--light-gray);
    border-color: var(--brand-cyan);
}

/* Links */
.auth-link {
    color: var(--brand-cyan);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.auth-link:hover {
    color: var(--brand-cyan-dark);
    text-decoration: underline;
}

.auth-divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
}

.auth-divider span {
    background: rgba(255, 255, 255, 0.95);
    padding: 0 16px;
    color: var(--medium-gray);
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #E2E8F0;
    z-index: 0;
}

/* Helper Text */
.form-helper-text {
    font-size: 13px;
    color: var(--medium-gray);
    margin-top: 6px;
}

/* Animations */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .auth-grid {
        flex-direction: column;
    }

    .auth-brand-panel {
        padding: 40px 30px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    .auth-brand-content h1 {
        font-size: 32px;
    }

    .auth-form-panel {
        padding: 40px 30px;
    }

    .auth-form-container {
        padding: 32px 24px;
    }

    .auth-centered {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {

    .auth-brand-panel,
    .auth-form-panel {
        padding: 30px 20px;
    }

    .auth-form-container {
        padding: 28px 20px;
        border-radius: 16px;
        max-width: 100%;
    }

    .auth-form-header h2 {
        font-size: 24px;
    }

    .premium-btn {
        padding: 14px 20px;
    }

    .auth-logo-centered .auth-logo-text {
        font-size: 36px;
    }

    .auth-centered {
        padding: 20px 16px;
    }
}