/* Lucky Chance V2 - Consolidated Styles */

body {
    background: linear-gradient(180deg, #e8f0fe 0%, #d4e4fc 50%, #c8daf8 100%);
    min-height: 100vh;
}

.lucky-card {
    background: #eef3ff;
    border-radius: 32px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
    max-width: 480px;
    width: 100%;
    min-height: 750px;
    display: flex;
    flex-direction: column;
}

.lucky-title-text {
    font-size: 38px;
    background: linear-gradient(135deg, #9966ff 0%, #cc66ff 50%, #ff99cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-4-title {
    font-size: 42px;
    font-weight: 900;
    color: #7B3FE4;
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(123, 63, 228, 0.2);
    -webkit-text-stroke: 1px #fff;
}

.form-container {
    background: #ffffff;
    border-radius: 32px;
    padding: 16px;
    flex-grow: 1;
}

/* Input Styles */
.captcha-input {
    height: 46px;
    border-radius: 16px;
    font-size: 15px;
    background: #F0F4FF !important;
}

.captcha-input::placeholder {
    color: #8C96B8;
}

.phone-input {
    height: 50px;
    border-radius: 12px;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    background: #F0F4FF !important;
}

.phone-input::placeholder {
    color: #8C96B8;
}

.otp-input {
    width: 60px;
    height: 56px;
    background: #ffffff !important;
    border: 1px solid #E5EAF5;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #0A1F62;
    line-height: 56px;
    padding: 0;
}

.otp-input::placeholder {
    color: black;
    opacity: 1;
    font-size: 80px;
    line-height: 1;
    position: relative;
    top: 17px;
}

/* Checkbox */
.terms-checkbox {
    width: 22px;
    height: 22px;
    border: 2px solid #E0E0E0;
    border-radius: 6px;
    accent-color: #3366FF;
}

/* Buttons */
.btn-continue {
    height: 46px;
    background: #D4E1FF;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    border-radius: 12px;
}

.btn-continue:not(.active-blue) {
    box-shadow: 0 4px 12px rgba(212, 225, 255, 0.4);
}

/* Blue variant for Step 2, 3 default state */
.btn-continue.btn-blue {
    background: #3366FF;
    color: #fff;
    box-shadow: 0 4px 12px rgba(51, 102, 255, 0.3);
}

.btn-continue.btn-blue:hover {
    background: #2652D9;
}

.btn-continue.btn-blue:disabled {
    background: #D4E1FF;
    color: #999;
    box-shadow: 0 4px 12px rgba(212, 225, 255, 0.4);
    cursor: not-allowed;
}

.btn-continue.active-blue {
    background: #3366FF;
    box-shadow: 0 4px 12px rgba(51, 102, 255, 0.3);
    border-radius: 12px;
    color: #fff;
    font-weight: 500;
}

.btn-continue.active-blue:hover {
    background: #2652D9;
}

/* Light blue variant for Step 1 initial state */
.btn-continue.btn-light-blue {
    background: #D4E1FF;
    color: #333;
    box-shadow: 0 4px 12px rgba(212, 225, 255, 0.4);
}

.btn-continue.btn-light-blue:hover {
    background: #C4D4FF;
}

.btn-continue:hover:not(.active-blue):not(.btn-blue):not(.btn-light-blue) {
    background: #C4D4FF;
    transform: translateY(-1px);
}

/* Links and Labels */
.terms-link {
    cursor: pointer;
    text-decoration: underline;
    color: #2449FB;
}

.main-heading {
    text-align: center;
    font-weight: 700;
    color: #070952;
    line-height: 1.5;
}

.step-heading {
    text-align: left !important;
    color: #000033 !important;
    font-size: 24px !important;
    line-height: 1.3 !important;
    padding: 0 16px;
}

.input-label {
    color: #000033;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 8px;
    display: block;
}

.back-btn {
    color: #070952;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #ffffff;
    border-radius: 32px;
    max-width: 400px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.modal-body {
    padding: 32px 24px 24px;
    overflow-y: auto;
    flex: 1;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin-bottom: 24px;
}

.modal-text {
    font-size: 14px;
    line-height: 1.6;
    color: #333333;
}

.modal-text p {
    margin: 0 0 16px 0;
}

.modal-text p:last-child {
    margin-bottom: 0;
}

.modal-footer {
    display: block !important;
    padding: 16px 24px 24px !important;
    flex-shrink: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.modal-button {
    width: 100%;
    height: 46px;
    background: #2449FB;
    color: #ffffff;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 12px;
    margin: 0;
    box-sizing: border-box;
}

.modal-button:hover {
    background: #1A36D4;
    transform: translateY(-1px);
}

/* OTP Timer */
.resend-timer {
    font-size: 14px;
    color: black;
    margin-top: 15px;
    text-align: right;
}

.resend-timer span {
    color: #3C3D5C;
    font-weight: bold;
}

.resend-link {
    cursor: pointer;
    color: #2449FB;
    text-decoration: none;
    font-weight: 500;
}

.resend-link:hover {
    text-decoration: underline;
}

/* Ticket Styles */
.ticket-summary-card {
    background: #F2F5FF;
    border-radius: 24px;
    padding: 16px;
    margin-bottom: 16px;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.ticket-summary-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.ticket-box {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 50%;
}

.ticket-icon-bg {
    display: flex;
    align-items: center;
    justify-content: center;
}

.blue-arrow-circle {
    width: 20px;
    height: 20px;
    background: #3366FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

/* Detailed Ticket Styles */
.detailed-ticket-item {
    background: #EEF1FF;
    border-radius: 16px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    min-height: 60px;
}

.ticket-mini-icon {
    color: #5A6BFF;
    display: flex;
    align-items: center;
}

.see-more-btn {
    background: #EEF1FF;
    border-radius: 14px;
    padding: 10px;
    text-align: center;
    color: #5A6BFF;
    font-weight: 600;
    text-decoration: none;
    display: block;
    margin-top: 16px;
    font-size: 13px;
    width: 100%;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.see-more-btn:hover {
    background: #DDE5FF;
    text-decoration: none;
    color: #5A6BFF;
}

.detailed-heading {
    font-size: 16px;
    color: #111;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 480px) {
    .min-vh-100 {
        padding: 0 !important;
        margin: 0 !important;
    }

    .lucky-card {
        min-height: 100vh;
        height: 100vh;
        width: 100vw;
        max-width: 100%;
        border-radius: 0;
        margin: 0;
        padding: 0;
    }

    .lucky-title-text {
        font-size: 30px;
    }

    .main-heading {
        font-size: 20px !important;
    }

    .step-heading {
        font-size: 24px !important;
    }

    .otp-input {
        width: 48px;
        height: 48px;
    }

    .step-4-title {
        font-size: 32px;
    }
}
