:root {
    --bg: #0c0c0c;
    --card: #151515;
    --muted: #9a9a9a;
    --accent: #7b59e6;
    --accent-2: #a879ff;
    --glass: rgba(255, 255, 255, 0.05);
    --launchouse-gradient: linear-gradient(90deg, #00c6ff, #0072ff);
    --get-started-bg: #1B8C8C;

    /* New variables for Blue Alert Theme */
    --alert-blue: #007bff;
    --alert-red: #dc3545;
    --alert-green: #28a745;
    --alert-text-dark: #172B4D;
    --alert-text-muted: #5E6C84;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Fredoka', sans-serif;
    background: var(--bg);
    padding: 40px;
    /* Default desktop padding */
    color: #fff;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    /* Ensures full height */

    /* 👇 FIX 1: Default to block flow */
    display: block;
}

.wrap {
    width: 1100px;
    max-width: 95%;
    background: var(--card);
    border-radius: 14px;
    padding: 28px;
    display: flex;
    gap: 28px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    position: relative;
    flex-direction: column;
    align-items: center;
    transition: opacity 0.5s ease-in-out;
    margin: 0 auto;
}

.wrap.hidden {
    opacity: 0;
    pointer-events: none;
}

.company-logo {
    margin-bottom: 20px;
}

.company-logo img {
    height: 40px;
}

.welcome-message {
    font-size: 2.5em;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    background: var(--launchouse-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.content-area {
    display: flex;
    gap: 28px;
    width: 100%;
}

.form-container {
    width: 52%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.form-slide {
    width: 200%;
    display: flex;
    transition: transform 0.6s cubic-bezier(.2, .9, .3, 1);
}

.form-slide.show-login {
    transform: translateX(-50%);
}

.form-column {
    width: 50%;
    flex-shrink: 0;
    padding: 8px 20px 20px;
}

.left {
    width: 48%;
    border-radius: 10px;
    padding: 18px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    margin-bottom: 18px;
}

.top-bar .logo img {
    height: 26px
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: all .3s
}

.back-btn:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.slider {
    height: 420px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    flex-grow: 1;
}

.slides {
    height: 100%;
    width: 300%;
    display: flex;
    transition: transform 700ms cubic-bezier(.2, .9, .3, 1);
}

.slide {
    flex: 1 0 100%;
    background-size: contain;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 26px
}

.slide:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.7) 100%)
}

.slide .caption {
    position: relative;
    z-index: 2;
    font-size: 22px;
    max-width: 80%;
}

.dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 14px;
    display: flex;
    gap: 8px
}

.dot {
    width: 36px;
    height: 6px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.15);
    transition: all .3s
}

.dot.active {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    width: 54px
}

h1 {
    font-size: 44px;
    margin: 10px 0 6px;
    font-weight: 600
}

.muted {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 18px
}

form {
    margin-top: 8px
}

.row {
    display: flex;
    gap: 12px
}

.field {
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px;
    border-radius: 8px;
    flex: 1;
    position: relative;
    transition: all .3s;
    margin-bottom: 12px;
}

.field input {
    width: 100%;
    background: transparent;
    border: 0;
    color: #fff;
    padding: 6px 2px;
    font-size: 15px;
    outline: none
}

.field label {
    position: absolute;
    top: 8px;
    left: 12px;
    font-size: 12px;
    color: var(--muted);
    pointer-events: none;
    transition: all .18s
}

.field.filled label {
    top: -8px;
    left: 10px;
    background: var(--card);
    padding: 0 6px;
    color: var(--muted);
    font-size: 11px
}

.password-wrap {
    display: flex;
    align-items: center;
    gap: 8px
}

.eye {
    cursor: pointer;
    opacity: 0.8;
    position: relative;
}

/* New CSS for the slash on the eye icon */
.eye.show-password:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 120%;
    background-color: currentColor;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
    color: var(--muted)
}

.btn {
    display: inline-block;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 0;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(120, 70, 200, 0.18);
    transition: all .3s
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(120, 70, 200, 0.35)
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--card);
    padding: 24px 32px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    text-align: center;
}

.modal.visible {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

.success-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 999;
    animation: fadeIn 0.5s ease-out;
}

.success-page.visible {
    display: flex;
}

/* New styles for the Success Page Logo and Text */
.launchouse-success-logo {
    width: 120px;
    height: auto;
    display: block;
    margin: 0 auto 15px auto;
}

.launchouse-success-heading {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5em;
    color: var(--primary-text-color, #fff);
    /* Changed to white for dark theme */
    margin-bottom: 30px;
    text-align: center;
}

.success-page {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.success-page.visible {
    display: flex;
}

.get-started-btn {
    padding: 15px 40px;
    border-radius: 10px;
    border: 0;
    background-color: var(--get-started-bg);
    color: #fff;
    font-weight: 600;
    font-size: 1.2em;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(27, 140, 140, 0.3);
    transition: all .3s;
    text-decoration: none;
}

.get-started-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(27, 140, 140, 0.5);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width:900px) {
    .wrap {
        flex-direction: column;
        padding: 18px
    }

    .left,
    .form-container {
        width: 100%
    }

    .slider {
        height: 320px
    }

    h1 {
        font-size: 30px
    }
}

@media (max-width: 550px) {
    body {
        padding: 20px 10px;
        /* Reduced side padding */
    }

    .wrap {
        /* 👇 FIX 3: Ensure spacing on top and bottom of the main container on mobile */
        margin-top: 20px;
        margin-bottom: 20px;
        padding: 18px;
        /* Slightly less padding inside the wrap */
    }

    .company-logo {
        /* 👇 FIX 4: Ensure logo is visible and centered */
        margin-top: 0;
        margin-bottom: 15px;
        text-align: center;
    }

    .company-logo img {
        height: 35px;
        /* Slightly smaller logo */
    }

    .welcome-message {
        font-size: 1.5em;
        /* Further reduced size to fit */
        margin-bottom: 20px;
    }

    .content-area {
        flex-direction: column;
        gap: 20px;
    }

    /* ... (बाकी के 550px styles यहाँ रखें) ... */

    h1 {
        font-size: 24px;
    }

    .row {
        flex-direction: column;
        gap: 0;
    }
}


/* -------------------------------------- */
/* LNH Custom Blue-Themed Alert Styling (UPDATED) */
/* -------------------------------------- */

.LNH-modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    /* Semi-transparent black */
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.LNH-modal-overlay.visible {
    opacity: 1;
    display: block;
    /* Animation ke liye visible class ke saath display on rakhenge */
}

.LNH-modal-content {
    background: #ffffff;
    color: var(--alert-text-dark);
    /* Dark text for readability */
    margin: 10% auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    max-width: 400px;
    padding: 30px;
    text-align: center;
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.3s ease-out;
}

.LNH-modal-overlay.visible .LNH-modal-content {
    transform: translateY(0);
}

#LNH-modalTitle {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    /* Color will be dynamic */
}

#LNH-modalMessage {
    font-size: 15px;
    color: var(--alert-text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.LNH-modal-btn {
    background-color: var(--alert-blue);
    /* Primary Blue */
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 25px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s, transform 0.1s;
}

.LNH-modal-btn:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}

/* -------------------------------------- */
/* Status Icons and Colors */
/* -------------------------------------- */

#LNH-modalIcon {
    margin: 0 auto 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    /* Font Awesome ka use karne ke liye */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    /* Solid icons ke liye */
}

/* 🚨 Error Theme (Red) */
.LNH-modal-content.error #LNH-modalIcon {
    background-color: var(--alert-red);
}

.LNH-modal-content.error #LNH-modalIcon::before {
    content: "\f06a";
    /* Exclamation Circle */
}

.LNH-modal-content.error #LNH-modalTitle {
    color: var(--alert-red);
}

/* 🚀 Success Theme (Green) */
.LNH-modal-content.success #LNH-modalIcon {
    background-color: var(--alert-green);
}

.LNH-modal-content.success #LNH-modalIcon::before {
    content: "\f058";
    /* Check Circle */
}

.LNH-modal-content.success #LNH-modalTitle {
    color: var(--alert-green);
}

/* ℹ️ Info/Pending Theme (Blue) */
.LNH-modal-content.info #LNH-modalIcon {
    background-color: var(--alert-blue);
}

.LNH-modal-content.info #LNH-modalIcon::before {
    content: "\f05a";
    /* Info Circle */
}

.LNH-modal-content.info #LNH-modalTitle {
    color: var(--alert-blue);
}


@media (min-width: 901px) {
    body {
        /* Centering the content vertically and horizontally only on larger screens */
        display: flex;
        align-items: center;
        justify-content: center;
    }
}