/* ==========================================================================
   SEAES Accounts â€” Auth Split Layout
   Left: Product showcase  |  Right: Login form (wide)
   ========================================================================== */

/* Remove the top logo bar on auth pages â€” logo is inside the form panel */
.auth-layout .seaes-top-logo { display: none; }

/* Split container */
.auth-split {
    display: flex;
    min-height: 100vh;
    background: #f8fafc;
}

/* â”€â”€ Left Panel: Product Showcase â”€â”€ */
.auth-right {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 1;
}

.auth-right-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f2647 0%, #1a5eb4 40%, #3b82f6 70%, #06b6d4 100%);
    z-index: 0;
}

.auth-right-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.06) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(6,182,212,0.15) 0%, transparent 60%);
    animation: meshMove 12s ease-in-out infinite alternate;
}

.auth-right-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 10% 20%, rgba(255,255,255,0.3) 50%, transparent 50%),
        radial-gradient(2px 2px at 30% 60%, rgba(255,255,255,0.2) 50%, transparent 50%),
        radial-gradient(2px 2px at 50% 10%, rgba(255,255,255,0.25) 50%, transparent 50%),
        radial-gradient(2px 2px at 70% 80%, rgba(255,255,255,0.15) 50%, transparent 50%),
        radial-gradient(2px 2px at 90% 40%, rgba(255,255,255,0.2) 50%, transparent 50%),
        radial-gradient(3px 3px at 15% 85%, rgba(255,255,255,0.1) 50%, transparent 50%),
        radial-gradient(2px 2px at 85% 15%, rgba(255,255,255,0.2) 50%, transparent 50%),
        radial-gradient(2px 2px at 60% 45%, rgba(255,255,255,0.15) 50%, transparent 50%);
    animation: particleDrift 20s linear infinite;
}

@keyframes meshMove {
    0%   { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.05) translate(-2%, 1%); }
}

@keyframes particleDrift {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-30px); }
}

.auth-right-content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 3rem;
    max-width: 560px;
    width: 100%;
}

.auth-tagline h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1.15;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.auth-tagline p {
    font-size: 1.05rem;
    opacity: 0.8;
    margin-bottom: 2.5rem;
}

/* â”€â”€ Right Panel: Login Form (wide) â”€â”€ */
.auth-right-form {
    width: 50%;
    min-width: 580px;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-left: 1px solid #e5e7eb;
    position: relative;
    z-index: 2;
    order: 2;
}

.auth-right-form-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    padding: 3rem 4rem;
}

.auth-brand {
    margin-bottom: 2.5rem;
}

.auth-brand .auth-logo {
    height: 32px;
}

.auth-form-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 480px;
}

.auth-heading {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.auth-subheading {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.auth-footer {
    padding-top: 2rem;
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Form overrides */
.auth-form-wrap .form-control {
    border-radius: 10px;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    border-color: #e5e7eb;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-form-wrap .form-control:focus {
    border-color: #1a5eb4;
    box-shadow: 0 0 0 3px rgba(26,94,180,0.1);
}

.auth-form-wrap .form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.3rem;
}

.auth-form-wrap .btn-primary {
    background: #1a5eb4;
    border-color: #1a5eb4;
    border-radius: 10px;
    padding: 0.7rem 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.auth-form-wrap .btn-primary:hover {
    background: #15498a;
    border-color: #15498a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26,94,180,0.3);
}

.auth-form-wrap .btn-outline-dark,
.auth-form-wrap .btn-outline-primary {
    border-radius: 10px;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.auth-form-wrap .btn-group .btn {
    border-radius: 8px;
    font-size: 0.85rem;
    padding: 0.45rem 0.85rem;
}

.auth-form-wrap .btn-group .btn:first-child { border-radius: 8px 0 0 8px; }
.auth-form-wrap .btn-group .btn:last-child  { border-radius: 0 8px 8px 0; }

.divider-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #9ca3af;
    font-size: 0.75rem;
}

.divider-text::before,
.divider-text::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

/* â”€â”€ Product Carousel â”€â”€ */
.product-slide {
    display: none;
    animation: slideIn 0.5s ease;
}

.product-slide.active {
    display: block;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.product-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
}

.product-icon svg {
    width: 100%;
    height: 100%;
}

.product-slide h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-desc {
    font-size: 0.95rem;
    opacity: 0.85;
    line-height: 1.6;
    margin-bottom: 1rem;
    max-width: 420px;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.product-tags span {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Carousel dots */
.carousel-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 2rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.carousel-dot.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

.auth-trust {
    font-size: 0.8rem;
    opacity: 0.6;
    font-weight: 500;
}

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 1100px) {
    .auth-right { display: none; }
    .auth-right-form {
        width: 100%;
        max-width: 100%;
        min-width: unset;
        border-left: none;
    }
    .auth-right-form-inner {
        align-items: center;
    }
    .auth-form-wrap {
        width: 100%;
        max-width: 440px;
    }
}

@media (max-width: 576px) {
    .auth-right-form-inner {
        padding: 1.5rem 1.25rem;
    }
}
