:root {
            --primary-color: #2c3e50;
            --primary-hover-color: #1a252f;
            --secondary-color: #3498db;
            --accent-color: #e74c3c;
            --background-color: #f5f7fa;
            --text-color: #2c3e50;
            --light-text: #7f8c8d;
            --border-color: #bdc3c7;
            --container-width: 450px;
            --border-radius: 12px;
            --box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
            --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Roboto', sans-serif;
            background: linear-gradient(135deg, #2c3e50 0%, #4a6491 100%);
            color: var(--text-color);
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            padding: 20px;
            line-height: 1.6;
        }

        .recovery-container {
            background: white;
            width: 100%;
            max-width: var(--container-width);
            padding: 40px;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            text-align: center;
            transition: var(--transition);
        }

        .logo {
            margin-bottom: 1.5rem;
        }

        .logo-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #2c3e50 0%, #4a6491 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            color: white;
            font-size: 2rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .recovery-container h1 {
            color: var(--primary-color);
            margin-bottom: 1rem;
            font-size: 1.75rem;
            font-weight: 600;
        }

        .recovery-container p {
            color: var(--light-text);
            margin-bottom: 2rem;
            line-height: 1.6;
            font-size: 1rem;
        }

        .recovery-form {
            display: flex;
            flex-direction: column;
            gap: 1.25rem;
        }

        .form-group {
            text-align: left;
            position: relative;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
            color: var(--text-color);
            font-size: 0.95rem;
        }

        .form-group input {
            width: 100%;
            padding: 0.875rem 1rem;
            border: 1px solid var(--border-color);
            border-radius: var(--border-radius);
            font-size: 1rem;
            transition: var(--transition);
            background-color: #f8f9fa;
            font-family: 'Roboto', sans-serif;
        }

        .form-group input:focus {
            outline: none;
            border-color: var(--secondary-color);
            background-color: white;
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
        }

        .submit-btn {
            background: linear-gradient(135deg, var(--primary-color) 0%, #4a6491 100%);
            color: white;
            border: none;
            padding: 0.875rem;
            border-radius: var(--border-radius);
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            margin-top: 0.5rem;
            font-family: 'Roboto', sans-serif;
            width: 100%;
        }

        .submit-btn:hover {
            background: linear-gradient(135deg, var(--primary-hover-color) 0%, #2c3e50 100%);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .submit-btn:active {
            transform: translateY(0);
        }

        .back-to-login {
            margin-top: 1.5rem;
            color: var(--light-text);
            font-size: 0.9rem;
        }

        .back-to-login a {
            color: var(--secondary-color);
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
            position: relative;
        }

        .back-to-login a:hover {
            color: var(--accent-color);
        }

        .back-to-login a::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 2px;
            bottom: -2px;
            left: 0;
            background-color: var(--accent-color);
            transform: scaleX(0);
            transition: var(--transition);
        }

        .back-to-login a:hover::after {
            transform: scaleX(1);
        }

        /* Mensagens de feedback */
        .message {
            padding: 1rem;
            border-radius: var(--border-radius);
            margin-bottom: 1.5rem;
            display: none;
        }

        .message.success {
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
            display: block;
        }

        .message.error {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
            display: block;
        }

        /* Estados de validação */
        .form-group.success input {
            border-color: #27ae60;
        }

        .form-group.error input {
            border-color: var(--accent-color);
        }

        .validation-message {
            font-size: 0.75rem;
            margin-top: 0.25rem;
            display: none;
        }

        .form-group.success .validation-message.success,
        .form-group.error .validation-message.error {
            display: block;
        }

        .validation-message.success {
            color: #27ae60;
        }

        .validation-message.error {
            color: var(--accent-color);
        }

        /* Loading state */
        .loading {
            position: relative;
            pointer-events: none;
        }

        .loading::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 20px;
            height: 20px;
            margin: -10px 0 0 -10px;
            border: 2px solid transparent;
            border-top: 2px solid white;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Mobile First - Responsividade */
        @media (max-width: 768px) {
            body {
                padding: 15px;
                background: linear-gradient(135deg, #2c3e50 0%, #4a6491 100%);
            }

            .recovery-container {
                padding: 2.5rem 2rem;
            }

            .logo-icon {
                width: 70px;
                height: 70px;
                font-size: 1.8rem;
            }

            .recovery-container h1 {
                font-size: 1.5rem;
            }

            .recovery-container p {
                font-size: 0.95rem;
                margin-bottom: 1.5rem;
            }

            .form-group input {
                padding: 0.8rem 0.9rem;
            }

            .submit-btn {
                padding: 0.8rem;
            }
        }

        @media (max-width: 480px) {
            body {
                padding: 10px;
                align-items: flex-start;
            }

            .recovery-container {
                padding: 2rem 1.5rem;
                margin-top: 20px;
                border-radius: 10px;
            }

            .logo-icon {
                width: 60px;
                height: 60px;
                font-size: 1.5rem;
            }

            .recovery-container h1 {
                font-size: 1.3rem;
                margin-bottom: 0.75rem;
            }

            .recovery-container p {
                font-size: 0.9rem;
                margin-bottom: 1.25rem;
            }

            .recovery-form {
                gap: 1rem;
            }

            .form-group label {
                font-size: 0.9rem;
            }

            .form-group input {
                padding: 0.75rem 0.8rem;
                font-size: 0.95rem;
                border-radius: 8px;
            }

            .submit-btn {
                padding: 0.75rem;
                font-size: 0.95rem;
                border-radius: 8px;
            }

            .back-to-login {
                margin-top: 1.25rem;
                font-size: 0.85rem;
            }
        }

        @media (max-width: 360px) {
            .recovery-container {
                padding: 1.5rem 1.25rem;
            }

            .logo-icon {
                width: 55px;
                height: 55px;
                font-size: 1.3rem;
            }

            .recovery-container h1 {
                font-size: 1.2rem;
            }

            .form-group input {
                padding: 0.7rem 0.75rem;
                font-size: 0.9rem;
            }

            .submit-btn {
                padding: 0.7rem;
                font-size: 0.9rem;
            }
        }