/* ==========================================================================
   EasyLottery.in Exact Replica CSS
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background: #fdfdfd;
    overflow-x: hidden;
    color: #333;
    margin: 0 !important;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* The Full Page Split */
.split-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* Hide standard navbar/footer on split auth pages if desired */
body:has(.split-layout) .navbar,
body:has(.split-layout) .footer {
    display: none;
}

/* LEFT SIDE: Deep Purple Canvas */
.split-left {
    flex: 1.1;
    background: radial-gradient(circle at 50% 30%, #4a00e0 0%, #300099 60%, #1a0066 100%);
    position: relative;
    overflow: hidden;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Left side elements */
.brand-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 10;
    position: relative;
}

.brand-logo-badge {
    background: #FFD700;
    color: #000;
    font-weight: 900;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 1.1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.brand-logo-badge span {
    font-size: 0.7rem;
    font-weight: 700;
}

.lang-selector {
    color: #fff;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

.hero-graphics-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-graphics {
    width: 100%;
    height: 100%;
    background-image: url('https://app.easylottery.in/assets/images/auth-bg.png');
    /* Mock fallback */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center 60%;
}

/* CSS approximation of the 3D box and coins if image is missing */
.mock-box {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mock-box i {
    font-size: 14rem;
    color: #fff;
    text-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.mock-coin {
    position: absolute;
    background: linear-gradient(135deg, #FFDF73, #D4AF37);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 4px solid #F3E5AB;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3), inset 0 0 10px rgba(255, 255, 255, 0.5);
    z-index: 3;
}

.gov-approval-badge {
    z-index: 10;
    background: #FFD700;
    border-radius: 8px;
    padding: 0.8rem;
    text-align: center;
    max-width: 320px;
    margin: 0 auto;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.gov-approval-badge .icon-box {
    background: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: -30px auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gov-approval-badge .icon-box i {
    color: #2e7d32;
    font-size: 1.5rem;
}

.gov-approval-badge p {
    font-size: 0.9rem;
    font-weight: 700;
    color: #000;
    line-height: 1.3;
}

/* RIGHT SIDE: White Form Container */
.split-right {
    flex: 1;
    background: #fff;
    border-top-left-radius: 35px;
    border-bottom-left-radius: 35px;
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.15);
    z-index: 20;
    display: flex;
    flex-direction: column;
    padding: 3rem 2rem;
    align-items: center;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    margin-left: -20px;
    /* Overlap the purple background slightly */
}

.auth-form-wrapper {
    width: 100%;
    max-width: 380px;
    text-align: center;
    margin: auto 0;
}

.auth-form-wrapper h1 {
    color: #300099;
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.auth-form-wrapper p.subtitle {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

/* Form Elements */
.input-label {
    display: block;
    text-align: left;
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.phone-field-group {
    display: flex;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.2rem;
    transition: border 0.3s;
}

.phone-field-group:focus-within {
    border-color: #300099;
}

.country-code {
    background: #fff;
    padding: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
    font-size: 0.95rem;
    border-right: 1px solid #eee;
}

.country-code img {
    width: 22px;
    border-radius: 2px;
}

.phone-input,
.text-input {
    flex: 1;
    border: none;
    padding: 0.8rem;
    font-size: 0.95rem;
    color: #333;
    outline: none;
    width: 100%;
}

.text-input {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 1.2rem;
    transition: border 0.3s;
}

.text-input:focus {
    border-color: #300099;
}

/* Buttons */
.btn-primary {
    width: 100%;
    background: #d0a5a5;
    /* Disabled looking brownish-pink */
    color: #fff;
    border: none;
    padding: 0.9rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    margin-bottom: 1rem;
    transition: 0.3s;
}

.btn-primary.active {
    background: #b05050;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-outline {
    width: 100%;
    background: #fff;
    color: #b05050;
    border: 1px solid #b05050;
    padding: 0.9rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: 0.3s;
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.btn-outline:hover {
    background: #fff5f5;
}

/* Help Box */
.help-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px dashed #f5c276;
    background: #fffdf5;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.help-box .icon-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #555;
}

.help-box a {
    color: #b05050;
    font-weight: 600;
}

/* Register Link */
.register-link {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 2rem;
}

.register-link a {
    color: #300099;
    font-weight: 700;
}

/* Testimonials */
.testimonials h3 {
    font-size: 0.9rem;
    color: #300099;
    margin-bottom: 1rem;
    font-weight: 600;
}

.video-cards {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    position: relative;
}

.video-card {
    width: 31%;
    aspect-ratio: 9/16;
    background: #222;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.video-controls i {
    color: #fff;
    font-size: 0.7rem;
    cursor: pointer;
}

.v-progress {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    position: relative;
}

.v-progress div {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 30%;
    background: #0ea5e9;
    border-radius: 2px;
}

.v-time {
    color: #fff;
    font-size: 0.6rem;
}

.video-nav-arrow {
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    color: #300099;
    font-size: 1.2rem;
    cursor: pointer;
    background: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Custom Checkboxes for Register */
.checkbox-group {
    text-align: left;
    margin-bottom: 1.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    font-size: 0.8rem;
    color: #555;
    cursor: pointer;
}

.checkbox-item input {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
    accent-color: #300099;
}

/* Disclaimer text */
.disclaimer-text {
    font-size: 0.65rem;
    color: #888;
    text-align: left;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.disclaimer-text a {
    color: #555;
    font-weight: 600;
}

@media (max-width: 900px) {
    .split-layout {
        flex-direction: column;
    }

    .split-left {
        display: none;
    }

    .split-right {
        margin-left: 0;
        border-radius: 0;
        justify-content: flex-start;
        padding: 2rem 1.5rem;
    }
}

/* ==========================================================================
   Centered Auth Layout (Single Column)
   ========================================================================== */
.auth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1rem;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  margin: auto;
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* slight shadow to make the card pop */
}