/* NEXVENUS Split-View Login & Sign Up Design System */
:root {
    --green: #123a2d;
    --green-deep: #0d3025;
    --green-glow: #1f5743;
    --accent: #00bfff;
    --accent-hover: #38cdff;
    --accent-glow: rgba(0, 191, 255, 0.25);
    --ink: #17231d;
    --muted: #68736d;
    --line: #e2e8e2;
    --paper: #ffffff;
    --soft: #f4f7f4;
    --danger: #ef4444;
    --success: #10b981;
    --heading: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    --body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
    height: 100%;
    font-family: var(--body);
    color: var(--ink);
    background-color: var(--soft);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Split-View Layout Container */
.split-view-container {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    background: var(--paper);
    position: relative;
    overflow-x: hidden;
}

/* ==========================================================================
   LEFT SIDE: Visual Showcase (Brand, Mockup, Badges)
   ========================================================================== */
.showcase-side {
    position: relative;
    background: var(--green-deep);
    color: #ffffff;
    padding: 48px 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    isolation: isolate;
}

/* Decorative Geometric Rings */
.showcase-side::before {
    content: '';
    position: absolute;
    width: 680px;
    height: 680px;
    right: -240px;
    top: -240px;
    border: 1px solid rgba(120, 153, 130, 0.22);
    border-radius: 50%;
    box-shadow: 0 0 0 42px rgba(120, 153, 130, 0.08),
                0 0 0 90px rgba(120, 153, 130, 0.05),
                0 0 0 140px rgba(120, 153, 130, 0.03);
    pointer-events: none;
    z-index: -1;
}

.showcase-side::after {
    content: '';
    position: absolute;
    left: -80px;
    bottom: -60px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(0, 191, 255, 0.18), transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
    z-index: -1;
}

.showcase-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.showcase-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
    font-family: var(--heading);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.01em;
}

.showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #e4ebe6;
}

.showcase-badge .live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

/* Showcase Center: Meeting Visual Mockup */
.showcase-visual {
    position: relative;
    margin: 40px auto;
    width: 100%;
    max-width: 520px;
    z-index: 2;
}

.meeting-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(173, 199, 171, 0.4);
    border-radius: var(--radius-lg);
    padding: 14px;
    box-shadow: 0 24px 60px rgba(2, 28, 35, 0.45),
                0 -6px 25px rgba(0, 191, 255, 0.12);
    transform: rotate(-1deg);
    transition: var(--transition);
}

.meeting-card:hover {
    transform: rotate(0deg) scale(1.01);
}

.meeting-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 4px 10px;
    font-size: 10px;
    font-weight: 600;
    color: #d4e5d8;
    letter-spacing: 0.04em;
}

.meeting-photo-wrap {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 250px;
}

.meeting-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.meeting-photo-overlay {
    position: absolute;
    inset: 50% 0 0;
    background: linear-gradient(transparent, rgba(13, 48, 37, 0.85));
    display: flex;
    align-items: flex-end;
    padding: 14px;
    justify-content: space-between;
}

.meeting-photo-caption {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
}

.meeting-hd-tag {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.meeting-controls-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 6px 4px;
}

.meeting-user-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
}

.meeting-user-meta small {
    display: block;
    font-size: 9px;
    color: #a8beb0;
    font-weight: 400;
}

.meeting-action-icons {
    display: flex;
    gap: 8px;
}

.meeting-action-icons span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: grid;
    place-items: center;
    font-size: 13px;
    color: #ffffff;
}

.meeting-action-icons .hangup {
    background: #ef4444;
}

/* Floating Badges */
.floating-chip {
    position: absolute;
    background: #ffffff;
    color: var(--green);
    padding: 11px 16px;
    border-radius: var(--radius-md);
    box-shadow: 0 14px 35px rgba(4, 27, 38, 0.35);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3;
    animation: floatAnim 4s ease-in-out infinite alternate;
}

.floating-chip-top {
    top: -15px;
    left: -20px;
}

.floating-chip-bottom {
    bottom: -15px;
    right: -20px;
    animation-delay: -2s;
}

@keyframes floatAnim {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

.chip-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--accent);
    color: var(--green-deep);
    display: grid;
    place-items: center;
    font-size: 16px;
    flex-shrink: 0;
}

.chip-text strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--ink);
}

.chip-text small {
    display: block;
    font-size: 10.5px;
    color: var(--muted);
}

/* Showcase Bottom Info */
.showcase-footer {
    position: relative;
    z-index: 2;
}

.showcase-headline {
    font-family: var(--heading);
    font-size: clamp(28px, 2.5vw, 36px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.04em;
    margin-bottom: 12px;
}

.showcase-headline span {
    color: var(--accent);
}

.showcase-subtext {
    font-size: 14.5px;
    color: #b7cbbf;
    line-height: 1.6;
    max-width: 440px;
}

/* ==========================================================================
   RIGHT SIDE: Interactive Auth Form (Login / Signup)
   ========================================================================== */
.form-side {
    padding: 48px 64px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--paper);
    position: relative;
    overflow-y: auto;
}

.form-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.back-home-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.back-home-link:hover {
    color: var(--green);
    transform: translateX(-3px);
}

.auth-card-wrapper {
    max-width: 440px;
    width: 100%;
    margin: auto;
}

/* Segmented Tab Switcher */
.auth-tabs-nav {
    display: flex;
    background: var(--soft);
    padding: 5px;
    border-radius: 40px;
    margin-bottom: 30px;
    position: relative;
    border: 1px solid var(--line);
}

.tab-trigger {
    flex: 1;
    border: 0;
    background: transparent;
    font-family: var(--body);
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
    padding: 10px 18px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tab-trigger.active {
    background: var(--green);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(18, 58, 45, 0.2);
}

/* Headings */
.auth-intro {
    margin-bottom: 26px;
}

.auth-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--green);
    background: #eaf1ec;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.auth-title {
    font-family: var(--heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.04em;
    line-height: 1.2;
}

.auth-desc {
    font-size: 14px;
    color: var(--muted);
    margin-top: 6px;
}

/* Input Fields */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #2b3a32;
    margin-bottom: 7px;
}

.form-label .required {
    color: var(--danger);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: #8c9b92;
    font-size: 18px;
    pointer-events: none;
    transition: var(--transition);
}

.auth-input {
    width: 100%;
    height: 48px;
    background: var(--paper);
    border: 1.5px solid var(--line);
    border-radius: var(--radius-md);
    padding: 0 42px 0 44px;
    font-family: var(--body);
    font-size: 14px;
    color: var(--ink);
    outline: none;
    transition: var(--transition);
}

.auth-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.auth-input:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
    color: var(--accent);
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    background: transparent;
    border: 0;
    color: #8c9b92;
    font-size: 18px;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 6px;
    transition: var(--transition);
}

.password-toggle-btn:hover {
    color: var(--green);
}

/* Extras: Remember me & Forgot Password */
.form-row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 22px;
}

.remember-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4b5850;
    cursor: pointer;
    user-select: none;
}

.forgot-link {
    color: var(--green);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.forgot-link:hover {
    color: #0085b3;
    text-decoration: underline;
}

/* Submit Buttons */
.auth-submit-btn {
    width: 100%;
    height: 50px;
    background: var(--accent);
    color: var(--green-deep);
    border: 0;
    border-radius: 40px;
    font-family: var(--body);
    font-size: 14.5px;
    font-weight: 750;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 191, 255, 0.25);
    transition: var(--transition);
}

.auth-submit-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.35);
}

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

.auth-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* Password Strength & Requirements */
.password-requirements-box {
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin-top: 8px;
    font-size: 12px;
}

.requirements-title {
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 6px;
}

.requirements-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 12px;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #839188;
    transition: var(--transition);
}

.requirement-item.valid {
    color: var(--success);
    font-weight: 600;
}

.requirement-item i {
    font-size: 13px;
}

/* Terms Checkbox */
.terms-row {
    margin: 18px 0 22px;
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.5;
}

.terms-label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    cursor: pointer;
}

.terms-label input {
    margin-top: 3px;
    accent-color: var(--green);
}

.terms-label a {
    color: var(--green);
    text-decoration: underline;
    font-weight: 600;
}

/* Switch Prompt at Bottom */
.auth-switch-prompt {
    text-align: center;
    font-size: 13.5px;
    color: var(--muted);
    margin-top: 22px;
}

.auth-switch-prompt button {
    background: transparent;
    border: 0;
    color: var(--green);
    font-weight: 750;
    cursor: pointer;
    font-size: 13.5px;
    padding: 0 4px;
    text-decoration: underline;
    transition: var(--transition);
}

.auth-switch-prompt button:hover {
    color: #0085b3;
}

/* Alert / Error Box */
.auth-feedback-box {
    display: none;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-bottom: 20px;
    align-items: center;
    gap: 10px;
    animation: fadeIn 0.25s ease;
}

.auth-feedback-box.error {
    display: flex;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.auth-feedback-box.success {
    display: flex;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Pending Confirmation Box */
.pending-confirmation-view {
    text-align: center;
    padding: 20px 0;
}

.pending-mail-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0, 191, 255, 0.15);
    color: #009ecc;
    font-size: 30px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
}

.pending-email-badge {
    display: inline-block;
    background: var(--soft);
    border: 1px solid var(--line);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    margin: 10px 0 16px;
}

/* Footer Guarantee */
.form-footer-meta {
    margin-top: 32px;
    border-top: 1px solid var(--line);
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    color: #8c9b92;
}

.form-footer-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
    .split-view-container {
        grid-template-columns: 1fr;
    }
    
    .showcase-side {
        display: none; /* Hide visual on tablet/mobile so login is front & center */
    }
    
    .form-side {
        padding: 40px 28px;
        min-height: 100vh;
    }
    
    .auth-card-wrapper {
        margin: auto;
    }
}

@media (min-width: 1025px) and (max-width: 1280px) {
    .showcase-side {
        padding: 40px 36px;
    }
    
    .form-side {
        padding: 40px;
    }
    
    .meeting-visual {
        max-width: 440px;
    }
}

/* Spinner Animation */
.spin-icon {
    display: inline-block;
    animation: spinRotate 0.8s linear infinite;
}

@keyframes spinRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.secondary-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--soft);
    border: 1px solid var(--line);
    color: var(--ink);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 14px;
}

.secondary-action-btn:hover {
    background: #e7ede8;
    color: var(--green);
}

