/* WashPoint — shared auth-page styles (login.php / register.php / forgot-password.php / reset-password.php)
   Extracted from what used to be inline duplicate styles in login.php, and rebranded from generic
   Tailwind-blue hex codes to the real WashPoint palette, so login and signup can never visually drift
   apart again — they now share one stylesheet instead of one page having its own copy. */
    /* Common styles for both views */
    .login-container {
        transition: all 0.3s ease;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    }
    
    /* Mobile-specific styles - App-like Design */
    @media (max-width: 767px) {
        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
            margin: 0;
            padding: 0;
        }
        
        .login-container {
            max-width: 100%;
            border-radius: 0;
            min-height: 100vh;
            padding: 2.5rem 1.5rem;
            box-shadow: none;
            background: transparent;
        }
        
        .logo-container {
            margin-bottom: 3rem;
            text-align: center;
        }
        
        .logo-container img {
            width: 80px;
            height: 80px;
            border-radius: 20px;
            object-fit: contain;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }
        
        .login-title {
            font-size: 1.75rem;
            font-weight: 700;
            color: #2d3748;
            margin-top: 1.5rem;
            margin-bottom: 0.5rem;
        }
        
        .login-subtitle {
            color: #718096;
            font-size: 1rem;
            margin-bottom: 2.5rem;
        }
        
        .form-input {
            background-color: white;
            border: none;
            border-radius: 14px;
            padding: 16px 18px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            font-size: 1rem;
            margin-bottom: 1.5rem;
            width: 100%;
            box-sizing: border-box;
        }
        
        .form-input:focus {
            outline: none;
            box-shadow: 0 0 0 2px #1657D6, 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        .login-btn {
            border-radius: 14px;
            padding: 18px;
            font-weight: 600;
            font-size: 1rem;
            box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
            background: linear-gradient(to right, #1657D6 0%, #0F3F9E 100%);
            border: none;
            color: white;
            width: 100%;
            margin-top: 1rem;
            margin-bottom: 1.5rem;
            transition: all 0.2s ease;
            cursor: pointer;
        }
        
        .login-btn:active {
            transform: scale(0.98);
            box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
        }
        
        .footer-link {
            color: #1657D6;
            font-weight: 500;
            text-decoration: none;
            font-size: 0.95rem;
        }
        
        .remember-me {
            color: #4a5568;
            font-size: 0.95rem;
        }
        
        .options-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
        }
        
        .checkbox-container {
            display: flex;
            align-items: center;
        }
        
        input[type="checkbox"] {
            -webkit-appearance: none;
            appearance: none;
            width: 20px;
            height: 20px;
            border-radius: 6px;
            border: 1px solid #cbd5e0;
            margin-right: 8px;
            position: relative;
            cursor: pointer;
        }
        
        input[type="checkbox"]:checked {
            background-color: #1657D6;
            border-color: #1657D6;
        }
        
        input[type="checkbox"]:checked::after {
            content: "✓";
            position: absolute;
            color: white;
            font-size: 12px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        
        .signup-text {
            text-align: center;
            color: #718096;
            font-size: 0.95rem;
            margin-top: 1rem;
        }

        /* Hide image section on mobile */
        .image-section {
            display: none;
        }
        
        .desktop-container {
            display: block;
        }
    }
    
    /* Desktop-specific styles */
    @media (min-width: 768px) {
        body {
            background-color: #f8fafc;
            margin: 0;
            padding: 0;
            min-height: 100vh;
        }
        
        .desktop-container {
            display: flex;
            min-height: 100vh;
        }
        
        .login-section {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 2rem;
            background-color: white;
        }
        
        .image-section {
            flex: 1;
            background-color: #f1f5f9;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 2rem;
        }
        
        .app-image {
            max-width: 80%;
            max-height: 60vh;
            object-fit: contain;
            margin-bottom: 1rem;
        }
        
        .download-badge {
            width: 300px;
            cursor: pointer;
            transition: transform 0.2s;
            margin-top: 2rem;
        }
        
        .download-badge:hover {
            transform: scale(1.05);
        }
        
        .login-container {
            max-width: 400px;
            width: 100%;
            padding: 2rem;
            background: white;
        }
        
        .logo-container {
            margin-bottom: 2rem;
            text-align: center;
        }
        
        .logo-container img {
            width: 80px;
            height: auto;
        }
        
        .login-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: #1e293b;
            margin-top: 1rem;
            margin-bottom: 0.5rem;
        }
        
        .login-subtitle {
            color: #64748b;
            font-size: 1rem;
            margin-bottom: 2rem;
        }
        
        .form-input {
            border-radius: 10px;
            padding: 15px;
            border: 1px solid #e2e8f0;
            font-size: 1rem;
            margin-bottom: 1.25rem;
            width: 100%;
            transition: all 0.2s;
        }
        
        .form-input:focus {
            outline: none;
            border-color: #1657D6;
            box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
        }
        
        .login-btn {
            border-radius: 10px;
            padding: 15px;
            font-weight: 600;
            font-size: 1rem;
            background-color: #1657D6;
            color: white;
            border: none;
            width: 100%;
            margin-top: 0.5rem;
            transition: all 0.2s;
            cursor: pointer;
        }
        
        .login-btn:hover {
            background-color: #124FC4;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
        }
        
        .options-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }
        
        .footer-link:hover {
            text-decoration: underline;
        }
    }
