/* Styles pour les pages d'authentification (login, register, forgot, reset) */

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #020617;
    color: #e5e7eb;
}

.auth-container {
    max-width: 420px;
    margin: 40px auto;
    padding: 24px 20px;
    background-color: #020617;
    border-radius: 12px;
    border: 1px solid #111827;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.7);
}

.auth-container h1 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 22px;
    text-align: center;
}

.auth-error,
.auth-success {
    margin-bottom: 16px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
}

.auth-error {
    background-color: rgba(239, 68, 68, 0.12);
    color: #fecaca;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.auth-success {
    background-color: rgba(34, 197, 94, 0.12);
    color: #bbf7d0;
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-form label {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    gap: 6px;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #1f2937;
    background-color: #020617;
    color: #e5e7eb;
    font-size: 14px;
}

.auth-form input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.4);
}

.auth-form button[type="submit"] {
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(to right, #2563eb, #4f46e5);
    color: white;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
}

.auth-form button[type="submit"]:hover {
    filter: brightness(1.05);
}



.auth-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.auth-actions .btn-shopify-link {
    display: block;
    text-align: center;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    color: #0a0703;
    border: none;
    background: linear-gradient(120deg, #ff7a00, #ff9f43);
    box-shadow: 0 10px 30px rgba(255, 122, 0, 0.16);
}

.auth-actions .btn-shopify-link:hover {
    filter: brightness(1.05);
    box-shadow: 0 12px 34px rgba(255, 122, 0, 0.22);
}

.auth-actions .btn-shopify {
    background: linear-gradient(to right, #059669, #10b981);
}

.auth-actions .btn-shopify:hover {
    filter: brightness(1.05);
}

.auth-footer {
    margin-top: 16px;
    font-size: 13px;
    text-align: center;
    color: #9ca3af;
}

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

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

.auth-footer-links {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
}


.oauth-separator {
    margin: 16px 0 8px;
    text-align: center;
    font-size: 13px;
    color: #9ca3af;
    position: relative;
}

.oauth-separator span {
    background-color: #020617;
    padding: 0 8px;
    position: relative;
    z-index: 1;
}

.oauth-separator::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #1f2937;
    transform: translateY(-50%);
}

.oauth-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.btn-google {
    display: inline-block;
    padding: 8px 12px;
    font-size: 14px;
    background-color: #dc2626;
    color: #f9fafb;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
}

.btn-google:hover {
    background-color: #b91c1c;
}

.btn-discord {
    display: inline-block;
    padding: 8px 12px;
    font-size: 14px;
    background-color: #5865f2;
    color: #f9fafb;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
}

.btn-discord:hover {
    background-color: #4752c4;
}


/* Responsive */
@media (max-width: 480px) {
    .auth-container {
        margin: 20px 12px;
        padding: 20px 16px;
    }
}
