/* Login Page Styles - Daskar Service Management System */
/* Persian RTL Support and Global Styles */

html, body {
    height: 100%;
}
body {
    font-family: Vazirmatn, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial;
    overflow: hidden;
}

/* Layout and Animation Classes */
.slide {
    height: calc(var(--vh, 1vh) * 100);
    width: 100vw;
}
.parallax {
    will-change: transform;
}
.glass {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.card-3d {
    transform-style: preserve-3d;
    transition: transform 160ms ease, box-shadow 300ms ease;
    will-change: transform;
}
.card-3d:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px #7C3AED33, 0 8px 30px rgba(124,58,237,0.2);
}
.ripple {
    position: relative;
    overflow: hidden;
}
.ripple-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    transform: scale(0);
    animation: ripple 600ms ease-out;
    pointer-events: none;
}
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Content Section Spacing */
.content-section {
    min-height: 400px;
}

/* Mobile Responsive Adjustments */
@media (max-width: 640px) {
    .content-section {
        min-height: auto;
    }
}

/* Responsive Design Utilities */
@media (max-width: 640px) {
    .glass {
        padding: 1rem !important;
    }
    .parallax {
        display: none;
    }
    .submit-button-container {
        min-height: 50px;
    }
    main {
        height: 100vh;
        overflow-y: auto;
        padding-bottom: 100px;
    }
    body {
        overflow-x: hidden;
    }
    html {
        overflow-x: hidden;
    }

    /* Mobile Tabs Navigation */
    .system-cards {
        display: none !important;
    }
    .mobile-tabs {
        display: flex !important;
    }
    .mobile-tab {
        flex: 1;
        padding: 12px 8px;
        text-align: center;
        background: rgba(255,255,255,0.1);
        border: none;
        color: white;
        font-size: 12px;
        border-radius: 8px 8px 0 0;
        transition: all 0.3s ease;
    }
    .mobile-tab.active {
        background: rgba(255,255,255,0.2);
        transform: translateY(-2px);
    }
    .mobile-tab-icon {
        width: 20px;
        height: 20px;
        margin: 0 auto 4px;
        display: block;
    }
}

@media (max-width: 480px) {
    .glass {
        padding: 0.75rem !important;
    }
    .submit-button-container {
        min-height: 45px;
    }
    main {
        height: 100vh;
        overflow-y: auto;
        padding-bottom: 100px;
    }
    body {
        overflow-x: hidden;
    }
    html {
        overflow-x: hidden;
    }
}

/* Desktop Styles */
@media (min-width: 641px) {
    .mobile-tabs {
        display: none !important;
    }
}

/* Theme Toggle Button */
#modeToggle {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
}

@media (max-width: 640px) {
    #modeToggle {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
    }
}

/* Button Container for Consistent Layout */
.submit-button-container {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
