/* Mobile Login Page Styles */
.mobile-login-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #FF6B35 0%, #F7B801 100%);
    display: flex;
    flex-direction: column;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.mobile-login-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.mobile-login-header {
    padding: 48px 24px 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.mobile-login-logo {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.mobile-login-logo i {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-login-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin: 0 0 8px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-login-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
}

.mobile-login-content {
    flex: 1;
    background: var(--white);
    border-radius: 32px 32px 0 0;
    padding: 32px 24px;
    position: relative;
    z-index: 1;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1);
}

.mobile-login-form {
    margin-bottom: 24px;
}

.mobile-login-form h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 24px 0;
}

.mobile-form-group {
    margin-bottom: 20px;
}

.mobile-form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.mobile-input-wrapper {
    position: relative;
}

.mobile-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 1.25rem;
}

.mobile-form-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    transition: all var(--transition-base);
    background: var(--gray-50);
}

.mobile-form-input:focus {
    outline: none;
    border-color: var(--primary-orange);
    background: var(--white);
}

.mobile-btn {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mobile-btn-primary {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.mobile-btn-primary:active {
    transform: translateY(2px);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.mobile-btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
}

.mobile-btn-secondary:active {
    background: var(--gray-200);
}

.mobile-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
    color: var(--gray-400);
    font-size: 0.875rem;
    font-weight: 600;
}

.mobile-divider::before,
.mobile-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--gray-200);
}

.mobile-divider span {
    padding: 0 16px;
}

.mobile-login-footer {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--gray-100);
}

.mobile-login-footer p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.mobile-login-footer a {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 700;
}

.mobile-login-footer a:active {
    opacity: 0.7;
}

/* Scanner Modal Mobile */
.mobile-scanner-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gray-900);
    z-index: 9999;
    display: none;
    flex-direction: column;
}

.mobile-scanner-modal.active {
    display: flex;
}

.mobile-scanner-header {
    background: rgba(0, 0, 0, 0.5);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
}

.mobile-scanner-header h3 {
    margin: 0;
    font-size: 1.125rem;
}

.mobile-scanner-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-scanner-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

#cameraVideo {
    width: 100%;
    max-width: 400px;
    border-radius: 16px;
}

.mobile-scanner-result {
    background: var(--white);
    padding: 24px;
    border-radius: 16px;
    margin-top: 24px;
    text-align: center;
}

.mobile-scanner-footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 16px;
    display: flex;
    gap: 12px;
}

.mobile-scanner-footer .mobile-btn {
    flex: 1;
}

/* Responsive */
@media (min-width: 768px) {
    .mobile-login-content {
        max-width: 480px;
        margin: 0 auto;
        border-radius: 32px;
        margin-top: -32px;
    }
}