/* ============================================
   AUTH CSS
   ============================================ */

.auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
}

.auth-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.auth-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    animation: orb-float 8s ease-in-out infinite;
}

.auth-orb.orb1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -150px;
    right: -100px;
}

.auth-orb.orb2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -100px;
    left: -100px;
    animation-delay: 3s;
}

.auth-orb.orb3 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    top: 50%;
    left: 30%;
    animation-delay: 6s;
}

.particles {
    position: absolute;
    inset: 0;
}

.auth-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
    padding: 24px;
}

.auth-card {
    background: var(--header-bg);
    border: 1px solid var(--border2);
    border-radius: var(--radius-xl);
    padding: 40px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    animation: fade-up 0.5s ease forwards;
}

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

.auth-logo a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.auth-logo .logo-icon {
    width: 48px;
    height: 48px;
    font-size: 22px;
}

.auth-logo span {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
}

.auth-tabs {
    display: flex;
    background: var(--bg3);
    border-radius: var(--radius);
    padding: 4px;
    margin-bottom: 28px;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    background: none;
    border: none;
    border-radius: calc(var(--radius) - 2px);
    color: var(--text2);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active {
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fade-up 0.3s ease forwards;
}

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

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--text3);
    font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--border2);
    border-radius: var(--radius);
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-google:hover {
    background: var(--bg3);
    border-color: var(--primary);
}

.btn-google img {
    width: 18px;
    height: 18px;
}

.pass-strength {
    margin-top: 8px;
    height: 4px;
    border-radius: 2px;
    background: var(--surface);
    overflow: hidden;
    transition: var(--transition);
}

.pass-strength::after {
    content: '';
    display: block;
    height: 100%;
    border-radius: 2px;
    transition: var(--transition);
}

.pass-strength.weak::after { width: 33%; background: var(--danger); }
.pass-strength.medium::after { width: 66%; background: var(--warning); }
.pass-strength.strong::after { width: 100%; background: var(--success); }

.auth-footer-text {
    text-align: center;
    font-size: 12px;
    color: var(--text3);
    margin-top: 20px;
}

.auth-footer-text a {
    color: var(--primary-light);
    text-decoration: none;
}

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

@keyframes fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Woola 2026 responsive hardening ===== */
html,body{max-width:100%;overflow-x:hidden}img,video,iframe{max-width:100%;height:auto}.table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}table{min-width:680px}
@media(max-width:1024px){
 .container,.section-container,.footer-container{width:min(100% - 32px,1000px)!important}.hero-grid,.services-grid,.stats-grid,.features-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.admin-content,.main-content{min-width:0!important}.modal{max-width:calc(100vw - 32px)!important}
}
@media(max-width:768px){
 body{font-size:15px}.container,.section-container,.footer-container{width:min(100% - 24px,760px)!important}.hero-grid,.services-grid,.stats-grid,.features-grid,.verification-grid{grid-template-columns:1fr!important}.dashboard-layout{display:block!important}.main-content{margin-left:0!important;width:100%!important;padding:88px 14px 28px!important}.card{max-width:100%!important}.page-header{flex-direction:column!important;align-items:flex-start!important;gap:12px!important}.page-title{font-size:clamp(1.45rem,7vw,2rem)!important}.form-row,[style*="grid-template-columns:1fr 1fr"],[style*="grid-template-columns:280px 1fr"]{grid-template-columns:1fr!important}.modal-overlay{padding:12px!important}.modal{width:100%!important}.footer-grid{grid-template-columns:1fr!important}.chat-window{right:10px!important;left:10px!important;bottom:82px!important;width:auto!important;max-width:none!important;height:min(72vh,620px)!important}.chat-toggle{right:14px!important;bottom:14px!important}input,select,textarea,button{font-size:16px!important}.btn-primary,.btn-outline,.btn-danger,.btn-success{min-height:44px}.admin-main{margin-left:0!important;width:100%!important}.admin-content{padding:84px 12px 30px!important}
}
@media(max-width:480px){
 .container,.section-container,.footer-container{width:min(100% - 18px,480px)!important}.hero h1{font-size:clamp(2rem,12vw,3.1rem)!important}.hero-actions,.page-actions{flex-direction:column!important;width:100%!important}.hero-actions a,.page-actions a,.page-actions button{width:100%!important;justify-content:center!important}.card{padding:18px!important;border-radius:16px!important}table{min-width:620px}.chat-window{top:8px!important;right:8px!important;bottom:8px!important;left:8px!important;height:auto!important;border-radius:18px!important}.chat-proactive{display:none!important}
}
