        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #10b981;
            --secondary: #059669;
            --accent: #34d399;
            --dark: #1e293b;
            --light: #f0fdf4;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            background: linear-gradient(135deg, #10b981 0%, #059669 50%, #34d399 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem;
            position: relative;
            overflow-x: hidden;
        }

        /* Paw Pattern Background */
        .paw-pattern {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 1;
        }

        .paw {
            position: absolute;
            font-size: 2.5rem;
            color: rgb(255 255 255 / 70%);
            opacity: 0.15;
            animation: pawFloat 8s ease-in-out infinite;
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
        }

        .paw:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; animation-duration: 7s; }
        .paw:nth-child(2) { top: 15%; left: 30%; animation-delay: 1s; animation-duration: 9s; }
        .paw:nth-child(3) { top: 25%; left: 50%; animation-delay: 2s; animation-duration: 8s; }
        .paw:nth-child(4) { top: 20%; left: 70%; animation-delay: 3s; animation-duration: 10s; }
        .paw:nth-child(5) { top: 30%; left: 85%; animation-delay: 4s; animation-duration: 7.5s; }
        .paw:nth-child(6) { top: 45%; left: 15%; animation-delay: 0.5s; animation-duration: 8.5s; }
        .paw:nth-child(7) { top: 50%; left: 40%; animation-delay: 1.5s; animation-duration: 9.5s; }
        .paw:nth-child(8) { top: 55%; left: 65%; animation-delay: 2.5s; animation-duration: 7s; }
        .paw:nth-child(9) { top: 60%; left: 90%; animation-delay: 3.5s; animation-duration: 8s; }
        .paw:nth-child(10) { top: 70%; left: 25%; animation-delay: 4.5s; animation-duration: 9s; }
        .paw:nth-child(11) { top: 75%; left: 55%; animation-delay: 0.8s; animation-duration: 10s; }
        .paw:nth-child(12) { top: 80%; left: 80%; animation-delay: 1.8s; animation-duration: 7.5s; }

        @keyframes pawFloat {
            0%, 100% { 
                opacity: 0.1;
                transform: translateY(0) scale(1) rotate(0deg);
            }
            25% {
                opacity: 0.25;
                transform: translateY(-20px) scale(1.1) rotate(10deg);
            }
            50% { 
                opacity: 0.3;
                transform: translateY(-10px) scale(1.15) rotate(-10deg);
            }
            75% {
                opacity: 0.2;
                transform: translateY(-15px) scale(1.05) rotate(5deg);
            }
        }

        /* Login Container */
        .login-container {
            background: white;
            border-radius: 30px;
            box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
            width: 100%;
            max-width: 480px;
            position: relative;
            z-index: 10;
            overflow: hidden;
            animation: slideUp 0.6s ease;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Header */
        .login-header {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            padding: 3rem 2rem 2.5rem;
            text-align: center;
            color: white;
            position: relative;
        }

        .logo {
            font-size: 2.8rem;
            font-weight: 800;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.8rem;
        }

        .logo i {
            animation: bounce 2s ease-in-out infinite;
        }

        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

        .login-subtitle {
            font-size: 1.1rem;
            opacity: 0.95;
            margin-bottom: 0.5rem;
        }

        .welcome-text {
            font-size: 0.95rem;
            opacity: 0.85;
            font-weight: 300;
        }

        /* Form Content */
        .form-content {
            padding: 2.5rem;
        }

        .form-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 0.5rem;
            text-align: center;
        }

        .form-description {
            color: #64748b;
            text-align: center;
            margin-bottom: 2rem;
            font-size: 0.95rem;
        }

        /* Form Groups */
        .form-group {
            margin-bottom: 1.5rem;
            position: relative;
        }

        .form-label {
            display: block;
            margin-bottom: 0.8rem;
            font-weight: 600;
            color: var(--dark);
            font-size: 0.95rem;
        }

        .form-label i {
            color: var(--primary);
            margin-right: 0.5rem;
        }

        .input-wrapper {
            position: relative;
        }

        .form-input {
            width: 100%;
            padding: 1rem 1.5rem 1rem 3.5rem;
            border: 2px solid #e2e8f0;
            border-radius: 15px;
            font-family: inherit;
            font-size: 1rem;
            transition: all 0.3s ease;
            background: white;
        }

        .form-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
        }

        .input-icon {
            position: absolute;
            left: 1.2rem;
            top: 50%;
            transform: translateY(-50%);
            color: #94a3b8;
            font-size: 1.1rem;
            transition: color 0.3s ease;
        }

        .form-input:focus + .input-icon {
            color: var(--primary);
        }

        .password-toggle {
            position: absolute;
            right: 1.2rem;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #94a3b8;
            font-size: 1.1rem;
            cursor: pointer;
            transition: color 0.3s ease;
            padding: 0.5rem;
        }

        .password-toggle:hover {
            color: var(--primary);
        }

        /* Remember & Forgot */
        .form-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            font-size: 0.9rem;
        }

        .remember-me {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            cursor: pointer;
            color: var(--dark);
        }

        .remember-me input {
            width: 18px;
            height: 18px;
            cursor: pointer;
            accent-color: var(--primary);
        }

        .forgot-password {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s ease;
        }

        .forgot-password:hover {
            color: var(--secondary);
        }

        /* Buttons */
        .btn {
            width: 100%;
            padding: 1.2rem;
            border: none;
            border-radius: 15px;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.8rem;
        }

        .btn-login {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: white;
            box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
            margin-bottom: 1rem;
        }

        .btn-login:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 35px rgba(16, 185, 129, 0.4);
        }

        .btn-login:active {
            transform: translateY(0);
        }

        /* Divider */
        .divider {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin: 2rem 0;
            color: #94a3b8;
            font-size: 0.9rem;
        }

        .divider::before,
        .divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: #e2e8f0;
        }

        /* Register Link */
        .register-link {
            text-align: center;
            color: #64748b;
            font-size: 0.95rem;
        }

        .register-link a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 700;
            transition: color 0.3s ease;
        }

        .register-link a:hover {
            color: var(--secondary);
        }

        /* Pet Animation in Corner */
        .pet-corner {
            position: absolute;
            bottom: -20px;
            right: -20px;
            font-size: 5rem;
            color: rgba(16, 185, 129, 0.1);
            animation: wiggle 3s ease-in-out infinite;
        }

        @keyframes wiggle {
            0%, 100% { transform: rotate(0deg); }
            25% { transform: rotate(-5deg); }
            75% { transform: rotate(5deg); }
        }

        /* Loading State */
        .btn-login.loading {
            pointer-events: none;
            opacity: 0.7;
        }

        .btn-login.loading i {
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        /* Alert Messages */
        .alert {
            padding: 1rem 1.5rem;
            border-radius: 12px;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.8rem;
            font-size: 0.9rem;
            animation: slideDown 0.3s ease;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .alert-error {
            background: #fee2e2;
            color: #991b1b;
            border: 1px solid #fecaca;
        }

        .alert-success {
            background: #d1fae5;
            color: #065f46;
            border: 1px solid #a7f3d0;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            body {
                padding: 1rem;
            }

            .login-header {
                padding: 2.5rem 1.5rem 2rem;
            }

            .logo {
                font-size: 2.2rem;
            }

            .form-content {
                padding: 2rem 1.5rem;
            }

            .form-title {
                font-size: 1.5rem;
            }

            .form-options {
                flex-direction: column;
                gap: 1rem;
                align-items: flex-start;
            }

            .pet-corner {
                font-size: 3rem;
            }
        }

        /* Modal Overlay */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(5px);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            animation: fadeIn 0.3s ease;
        }

        .modal-overlay.active {
            display: flex;
        }

        /* Modal Content */
        .modal {
            background: white;
            border-radius: 25px;
            width: 90%;
            max-width: 500px;
            box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
            position: relative;
            animation: modalSlideUp 0.4s ease;
            overflow: hidden;
        }

        @keyframes modalSlideUp {
            from {
                opacity: 0;
                transform: translateY(50px) scale(0.9);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        .modal-header {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            padding: 2rem;
            text-align: center;
            color: white;
            position: relative;
        }

        .modal-close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            font-size: 1.2rem;
        }

        .modal-close:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: rotate(90deg);
        }

        .modal-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
            animation: bounce 2s ease-in-out infinite;
        }

        .modal-title {
            font-size: 1.8rem;
            font-weight: 800;
            margin-bottom: 0.5rem;
        }

        .modal-subtitle {
            font-size: 0.95rem;
            opacity: 0.9;
        }

        .modal-body {
            padding: 2rem;
        }

        .modal-description {
            color: #64748b;
            margin-bottom: 1.5rem;
            line-height: 1.6;
            text-align: center;
        }

        .modal-form-group {
            margin-bottom: 1.5rem;
        }

        .modal-form-label {
            display: block;
            margin-bottom: 0.8rem;
            font-weight: 600;
            color: var(--dark);
            font-size: 0.95rem;
        }

        .modal-form-label i {
            color: var(--primary);
            margin-right: 0.5rem;
        }

        .modal-success {
            text-align: center;
            padding: 2rem;
            display: none;
        }

        .modal-success.active {
            display: block;
        }

        .success-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            font-size: 2.5rem;
            color: white;
            animation: scaleIn 0.5s ease;
        }

        @keyframes scaleIn {
            from {
                transform: scale(0);
            }
            to {
                transform: scale(1);
            }
        }

        .success-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 0.5rem;
        }

        .success-message {
            color: #64748b;
            margin-bottom: 2rem;
            line-height: 1.6;
        }

        .btn-modal {
            width: 100%;
            padding: 1rem;
            border: none;
            border-radius: 15px;
            font-size: 1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.8rem;
        }

        .btn-modal-primary {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: white;
            box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
        }

        .btn-modal-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 35px rgba(16, 185, 129, 0.4);
        }

        .btn-modal-secondary {
            background: #f1f5f9;
            color: var(--dark);
            margin-top: 0.8rem;
        }

        .btn-modal-secondary:hover {
            background: #e2e8f0;
        }

        .btn-modal.loading {
            pointer-events: none;
            opacity: 0.7;
        }

        .btn-modal.loading i {
            animation: spin 1s linear infinite;
        }

        /* Modal Responsive */
        @media (max-width: 768px) {
            .modal {
                width: 95%;
                margin: 1rem;
            }

            .modal-header {
                padding: 1.5rem;
            }

            .modal-icon {
                font-size: 2.5rem;
            }

            .modal-title {
                font-size: 1.5rem;
            }

            .modal-body {
                padding: 1.5rem;
            }
        }