/**
 * Mooltwork Cockpit Platform - Auth Pages CSS
 * Estilos para paginas de autenticacao (login, forgot-password, reset-password)
 */

/* =========================================
   Base Reset
   ========================================= */

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

/* =========================================
   Auth Page Layout
   ========================================= */

.auth-body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 420px;
    padding: 40px;
}

/* =========================================
   Logo Section
   ========================================= */

.auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo h1 {
    color: #1a1a2e;
    font-size: 28px;
    font-weight: 700;
}

.auth-logo h1 span {
    color: #e94560;
}

.auth-logo p {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}

/* =========================================
   Form Elements
   ========================================= */

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

.auth-form-group label {
    display: block;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.auth-form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.auth-form-group input:focus {
    outline: none;
    border-color: #e94560;
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

.auth-form-group input::placeholder {
    color: #aaa;
}

/* =========================================
   Remember/Forgot Row
   ========================================= */

.auth-remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.auth-remember-forgot label {
    display: flex;
    align-items: center;
    color: #666;
    cursor: pointer;
}

.auth-remember-forgot input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
}

.auth-remember-forgot a {
    color: #e94560;
    text-decoration: none;
}

.auth-remember-forgot a:hover {
    text-decoration: underline;
}

/* =========================================
   Buttons
   ========================================= */

.auth-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #e94560 0%, #c23a51 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}

.auth-btn:active {
    transform: translateY(0);
}

.auth-btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.auth-btn-secondary:hover {
    background: #e0e0e0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* =========================================
   Messages
   ========================================= */

.auth-error {
    background: #fee;
    border: 1px solid #fcc;
    color: #c00;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.auth-success {
    background: #efe;
    border: 1px solid #cfc;
    color: #060;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.auth-info {
    background: #e7f3ff;
    border: 1px solid #b3d7ff;
    color: #0066cc;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* =========================================
   Footer
   ========================================= */

.auth-footer {
    text-align: center;
    margin-top: 25px;
    color: #999;
    font-size: 13px;
}

.auth-footer a {
    color: #e94560;
    text-decoration: none;
}

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

/* =========================================
   Back Link
   ========================================= */

.auth-back-link {
    display: inline-flex;
    align-items: center;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 20px;
}

.auth-back-link:hover {
    color: #e94560;
}

.auth-back-link svg {
    width: 16px;
    height: 16px;
    margin-right: 6px;
}

/* =========================================
   Description Text
   ========================================= */

.auth-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
}

/* =========================================
   Responsive
   ========================================= */

@media (max-width: 480px) {
    .auth-container {
        padding: 30px 20px;
    }

    .auth-logo h1 {
        font-size: 24px;
    }

    .auth-remember-forgot {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}
