/* styles_auth.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #111827;
    --primary-gradient: linear-gradient(135deg, #111827 0%, #374151 100%);
    --accent-color: #3b82f6;
    --bg-color: #f3f4f6;
}

body {
    background: #f8faff;
    background-image:
        radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.12) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(147, 51, 234, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(59, 130, 246, 0.12) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(147, 51, 234, 0.1) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(59, 130, 246, 0.05) 0px, transparent 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

@media (max-width: 576px) {
    body {
        align-items: flex-start;
        padding-top: 5vh;
    }
}

.auth-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 420px;
    padding: 48px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.brand-icon,
.icon-shield {
    width: 64px;
    height: 64px;
    background: var(--primary-gradient);
    color: #fff;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 24px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.icon-shield {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

h4 {
    color: #111;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-label {
    margin-bottom: 6px;
    font-size: 0.8rem;
}

.form-control {
    border-radius: 14px;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    background-color: #f9fafb;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
}

.form-control:focus {
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    border-color: var(--accent-color);
    outline: none;
}

.input-group-text {
    border-radius: 14px 0 0 14px;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-right: none;
    color: #9ca3af;
}

.input-group>.form-control {
    border-radius: 0 14px 14px 0;
}

.input-group>.btn {
    border-radius: 0 14px 14px 0;
}

.btn-login {
    border-radius: 14px;
    padding: 14px;
    font-weight: 600;
    background: var(--primary-gradient);
    border: none;
    width: 100%;
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

.btn-light {
    border-radius: 14px;
    padding: 12px;
    font-weight: 600;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #4b5563 !important;
}

.btn-light:hover {
    background-color: #e5e7eb;
}

.code-input {
    width: 100%;
    max-width: 250px;
    height: 60px;
    text-align: center;
    font-size: 28px;
    letter-spacing: 10px;
    font-weight: 800;
    border-radius: 16px;
    border: 2px solid #e5e7eb;
    background-color: #f9fafb;
    margin: 0 auto;
    color: var(--primary-color);
}

.code-input:focus {
    border-color: var(--accent-color);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    outline: none;
}

.small {
    font-size: 0.875rem;
}

.text-muted {
    color: #6b7280 !important;
}

.text-primary {
    color: var(--accent-color) !important;
}

/* WhatsApp Bubble */
.wa-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366 !important;
    color: #fff !important;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 9999;
    border: none !important;
}

.wa-bubble:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
    color: #fff !important;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}