/**
 * @package SaasFidelidade
 * @author Uebsites - https://uebsites.com.br
 * @modified 2026-03-29 13:21:00
 * @version 1.8.2
 */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.saas-auth-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, #7c3aed 0%, #0ea5e9 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.saas-auth-container {
    width: 100%;
    max-width: 420px;
}

.saas-auth-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.saas-auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.saas-auth-logo h1 {
    font-size: 1.8rem;
    color: #333;
    font-weight: 700;
}

.saas-auth-logo p {
    color: #888;
    font-size: 0.95rem;
    margin-top: 0.3rem;
}

.saas-auth-logo-img {
    max-width: 200px;
    width: auto;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.saas-form-group {
    margin-bottom: 1.2rem;
}

.saas-form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 0.4rem;
}

.saas-form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    background: #f8fafc;
}

.saas-form-group input:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
    background: #fff;
}

.saas-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.saas-btn-primary {
    background: linear-gradient(135deg, #7c3aed, #0ea5e9);
    color: #fff;
}

.saas-btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.saas-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.saas-btn-full {
    width: 100%;
}

.saas-message {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    margin: 1rem 0;
}

.saas-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.saas-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.saas-auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.saas-auth-footer p {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.saas-auth-footer a {
    color: #7c3aed;
    text-decoration: none;
    font-weight: 600;
}

.saas-auth-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .saas-auth-card {
        padding: 2rem 1.5rem;
    }
    .saas-auth-logo h1 {
        font-size: 1.5rem;
    }
}
