/* ==========================================================================
   MauzoSoft POS Modern Login Interface (IONOS Style)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

body.bg-full-screen-image, body.blank-page, html, .dashboard, #main-ui-view {
    margin: 0 !important;
    padding: 0 !important;
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    background-color: #ffffff !important;
    width: 100% !important;
    min-height: 100vh !important;
    color: #1e293b;
    overflow-x: hidden !important;
}

.app-content, .content-wrapper, .content-body {
    padding: 0 !important;
    margin: 0 !important;
    height: 100vh;
}

/* --- Split Screen Layout --- */
.mauzosoft-landing-wrapper {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* Left Brand Panel (IONOS Navy Blue / Cyan styling) */
.mauzosoft-hero-left {
    flex: 1;
    background: linear-gradient(135deg, #001f54 0%, #003d8f 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    color: #ffffff;
}

/* Subtle background pattern */
.mauzosoft-hero-left::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        radial-gradient(rgba(0, 192, 243, 0.1) 1px, transparent 1px),
        radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px, 90px 90px;
    background-position: 0 0, 15px 15px;
    z-index: 1;
}

/* Decorative Cyan Accent */
.mauzosoft-hero-left::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(0, 192, 243, 0.15) 0%, rgba(0, 192, 243, 0) 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-brand-logo {
    max-height: 70px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-headline span.cyan-accent {
    color: #00c0f3;
}

.hero-subtext {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #e2e8f0;
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.feature-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
}

.feature-pill i {
    color: #00c0f3;
    font-size: 1.5rem;
}

.feature-pill span {
    font-weight: 500;
    font-size: 0.95rem;
    color: #f8fafc;
}

/* Right Authentication Panel */
.mauzosoft-auth-right {
    flex: 0 0 500px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    position: relative;
    z-index: 10;
}

.auth-form-container {
    width: 100%;
    max-width: 380px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.5rem 0;
}

.auth-header p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

/* Clean White Inputs for contrast fix */
.geopos-form-group {
    position: relative;
    width: 100%;
    margin-bottom: 1.5rem;
}

.geopos-form-control {
    width: 100%;
    padding: 14px 44px 14px 16px;
    font-size: 1rem;
    font-family: 'Outfit', 'Inter', sans-serif;
    color: #1e293b !important;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.geopos-form-control:focus {
    border-color: #00c0f3;
    box-shadow: 0 0 0 3px rgba(0, 192, 243, 0.15);
    outline: none;
}

.geopos-form-control::placeholder {
    color: #94a3b8;
}

.geopos-form-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #94a3b8;
    pointer-events: none;
}

.toggle-password-btn {
    pointer-events: auto;
    cursor: pointer;
    color: #64748b;
    transition: color 0.2s;
}

.toggle-password-btn:hover {
    color: #003d8f;
}

/* Form Actions */
.geopos-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.geopos-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #475569;
    cursor: pointer;
}

.geopos-checkbox-label input {
    accent-color: #003d8f;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.geopos-forgot-link {
    color: #003d8f;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.geopos-forgot-link:hover {
    color: #00c0f3;
    text-decoration: underline;
}

/* Primary Button (IONOS Cyan) */
.geopos-btn-primary {
    width: 100%;
    padding: 14px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    background: #00c0f3;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(0, 192, 243, 0.25);
}

.geopos-btn-primary:hover {
    background: #003d8f;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0, 61, 143, 0.3);
}

.geopos-btn-primary:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.geopos-btn-customer {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-weight: 500;
    color: #003d8f;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-top: 1.5rem;
}

.geopos-btn-customer:hover {
    background: #e2e8f0;
    color: #001f54;
}

.auth-divider {
    margin: 2rem 0;
    display: flex;
    align-items: center;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.auth-divider span {
    padding: 0 10px;
}

.auth-footer {
    margin-top: 3rem;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
}

.alert-danger {
    background-color: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-danger .close {
    margin-left: auto;
    color: #b91c1c;
    opacity: 0.7;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 992px) {
    .mauzosoft-landing-wrapper {
        flex-direction: column;
    }
    
    .mauzosoft-hero-left {
        padding: 3rem 2rem;
        text-align: center;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .mauzosoft-auth-right {
        flex: 1;
        width: 100%;
        padding: 3rem 1.5rem;
        box-shadow: none;
    }
}
