* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.oppo-image {
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 0 auto;
}

.input_div {
    padding-left: 40px;
}
.update-detail-btn {
    padding: 20px;

}
.padding_redelivery {
    padding: 20px
}
.sub_now_btn {
    width: 230px;
    height: 45px;
    border: solid 1px #9D9D9D;
    text-align: center;
    font-size: 20px;
    background-color: gray;
    opacity: 1;
    --bs-btn-hover-bg: gray;
    color: #FFFFFF;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.fileUpload {
    max-width: 50vw;
    min-width: 300px;
}


body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
}

    body > .content-container  {
        height: 100vh;
    }

.content-holder {
    height: 100vh;
    width: 100vw;
}
/* Header */
.header {
    background: white;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    height: 83px;
}

.nav-container {
    max-width: 1200px;
    margin-left: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    height: 50px;
}

.nav-menu {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 30px;
    margin-bottom: 0;
    padding: 0 1rem;
}

.nav-menu a {
text-decoration: none;
color: #666;
font-size: 14px;
transition: color 0.3s;
}

.nav-menu a:hover {
    color: #007bff;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #666;
}

.modal-backdrop.show:nth-of-type(2) {
    opacity: 0.85 !important;
    background-color: #000;
}

/* Main Content */
.main-content {
    max-width: 100%;
}

#main_form {
    height: 100%;
}

/* Form Section */
.form-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

    .form-header h2 {
        font-size: 28px;
        color: #1a1a1a;
        margin-bottom: 10px;
    }

    .form-header p {
        color: #666;
        font-size: 16px;
    }

.step-badge {
    background: #666;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    padding: 5px;
    display: flex;
    flex-direction: column;
}

.form-group > span {
    font-size: 12px;
}

#AddressDiv .form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #007bff;
}

.delivery-options {
    margin: 0;
}

.delivery-option {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

    .delivery-option input[type="radio"] {
        margin: 0;
    }

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    font-size: 18px;
}

    .checkbox-group input[type="checkbox"] {
        margin-top: 3px;
    }

.phone-preview {
    text-align: center;
}

.phone-image {
    width: 200px;
    height: 300px;
    background: linear-gradient(45deg, #333, #666);
    border-radius: 20px;
    margin: 0 auto 20px;
    position: relative;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.view-details-btn {
    background: #666;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background 0.3s;
}

    .view-details-btn:hover {
        background: #555;
    }

.device-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: left;
}

    .device-info h4 {
        margin-bottom: 15px;
        color: #1a1a1a;
    }

    .device-info ul {
        list-style: none;
        font-size: 14px;
        color: #666;
    }

    .device-info li {
        margin-bottom: 8px;
        padding-left: 15px;
        position: relative;
    }

        .device-info li::before {
            content: '•';
            position: absolute;
            left: 0;
            color: #007bff;
        }

.action-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0px;
    gap: 10px;
}

    .action-buttons button {
        width: 100%;
    }

.btn {
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background: #007bff;
    color: white;
}

    .btn-primary:hover {
        background: #0056b3;
    }

.btn-secondary {
    background: #666;
    color: white;
}

    .btn-secondary:hover {
        background: #555;
    }


.validation-message {
    color: red;
    font-size: 0.9em;
    margin-top: 4px;
    display: block;
}

/* Footer */
footer {
    vertical-align: middle;
    width: 100%;
    height: 120px;
    padding: 40px 40px 40px 40px;
    background: #1a1a1a;
    color: white;
    z-index: 1000;
    font-weight: 400;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-style: normal;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 0;
}

    .footer-links a {
        color: #ccc;
        text-decoration: none;
        font-size: 14px;
    }

        .footer-links a:hover {
            color: white;
        }

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 0;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

    .social-icon:hover {
        background: #007bff;
    }

.copyright {
    color: #888;
    font-size: 12px;
}

.hero-footer {
    font-size: 16px;
    margin-top: 1rem;
    color: #007bff;
}

.hero-footer hr {
    border: 0;
    border-top: 1px solid #ccc;
    margin: 0.5rem 0;
}

.hero-footer-tcs {
    font-size: 14px;
    color: #666;
}

/* Full Body Modal */

#secondModal .modal-proof-action-button {
    gap: 15px;
}

/* New Styles */

.hero-section {
    background: linear-gradient(135deg, #a8d8ff 0%, #c8e6ff 25%, #e6f3ff 50%, #f0f0ff 75%, #e8e0ff 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.hero-left {
    flex: 1;
    max-width: 500px
}

.hero-title {
    font-size: 42px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    color: #666;
    font-size: 16px;
    margin-bottom: 40px;
    line-height: 1.5;
}

.welcome-gift-box {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.gift-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    font-size: 16px;
}

.imei-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background: #f8f9fa;
    color: #999;
}

.hero-info {
    font-size: 14px;
}

.act-fast {
    color: #4CAF50;
    font-weight: 600;
    margin-bottom: 8px;
}

.deadline-info {
    color: #666;
    margin-bottom: 8px;
}

.learn-more {
    color: #4CAF50;
    text-decoration: none;
}

.hero-right {
    display: flex;
    text-align: center;
    position: relative;
    justify-content: center;
    align-items: center;
    width: 500px;
}

.phone-showcase {
    position: relative;
    width: 80%;
    height: 400px;
}

.phone {
    width: 140px;
    height: 280px;
    border-radius: 25px;
    position: absolute;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.phone-black {
    background: linear-gradient(145deg, #1a1a1a, #333);
    left: -20px;
    transform: rotate(-15deg);
    z-index: 1;
}

.phone-blue {
    background: linear-gradient(145deg, #2c5aa0, #4a7bc8);
    left: 20px;
    transform: rotate(-5deg);
    z-index: 2;
}

.phone-purple {
    background: linear-gradient(145deg, #8b5fbf, #a88cc8);
    left: 60px;
    transform: rotate(5deg);
    z-index: 3;
}

.phone-white {
    background: linear-gradient(145deg, #f0f0f0, #fff);
    left: 100px;
    transform: rotate(15deg);
    z-index: 4;
}

.coloros-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #666;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* New Form Styles */

.form-section {
    background: white;
    padding: 40px 0;
}

.section-container {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.step1-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.section-subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

.section-subtitle-order {
    text-align: right;
    font-weight: bold;
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    font-size: 16px;
}

.step-badge {
    background: #666;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    display: inline-block;
}

.step1-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.step1-left {
    flex: 0 0 200px;
}

.step1-right {
    flex: 1;
}

.form-phone-showcase {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-phone {
    width: 80px;
    height: 160px;
    border-radius: 15px;
    position: absolute;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.form-phone-black {
    background: linear-gradient(145deg, #1a1a1a, #333);
    left: 0;
    transform: rotate(-10deg);
    z-index: 1;
}

.form-phone-purple {
    background: linear-gradient(145deg, #8b5fbf, #a88cc8);
    left: 30px;
    transform: rotate(10deg);
    z-index: 2;
}

.view-details-btn {
    background: #666;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
}

.arrow {
    font-size: 12px;
}


.delivery-selection {
    margin-bottom: 30px;
}

.delivery-options {
    display: flex;
    gap: 15px;
}

.delivery-option {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
    display: flex;
    align-items: center;
    font-size: 14px;
}

    .delivery-option.selected {
        border-color: #007bff;
        background: #f0f8ff;
    }

    .delivery-option:hover {
        border-color: #007bff;
    }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group label {
        margin-bottom: 8px;
        color: #333;
        font-size: 14px;
        font-weight: 500;
    }

    .form-group input,
    .form-group select {
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 14px;
        background: white;
    }

        .form-group input:focus,
        .form-group select:focus {
            outline: none;
            border-color: #007bff;
            box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
        }

.checkbox-container {
    margin-bottom: 30px;
}

    .checkbox-container label {
        display: flex;
        align-items: center;
        font-size: 14px;
        color: #333;
    }

    .checkbox-container input[type="checkbox"] {
        margin-right: 10px;
    }

.form-actions {
    display: flex;
    justify-content: flex-end;
}

.btn-next {
    background: #666;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

    .btn-next:hover {
        background: #555;
    }

.back-button {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    margin-bottom: 20px;
    color: #666;
}

.confirmation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.details-column h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    margin-bottom: 12px;
    font-size: 14px;
}

.detail-label {
    flex: 0 0 120px;
    color: #666;
}

.detail-value {
    color: #333;
}

.confirmation-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.btn-submit {
    background: #666;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.typeahead-item {
    padding: 8px;
    font-size: 14px;
    font-weight: 500;
}

.typeahead-item:hover {
    background: #d3d3d3;
}

.error_page_content {
    align-content: center;
    text-align: center;
}
.prd-image {
    border-radius: 20px;
    max-height: 450px !important;
    max-width: 550px !important;
}

.step-indicator {
    margin-bottom: 30px;
    top: 0;
    left: 0;
    background: #f0f0f0;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    color: #666;
    position: absolute;
    margin-left: 20px
}

.home_welcome {
    text-align: center;
    padding-top: 20px;
    vertical-align: middle;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 2em;
}
.home_rewards {
    text-align: center;
    padding-top: 0px;
    vertical-align: middle;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 3em;
}

/* Responsive Design */

@media (max-width: 1100px) {

    .step1-left {
        display: none;
    }

    .footer {
        height: auto;
        padding-bottom: 40px;
    }

    .footer-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        gap: 30px;
    }
}

@media (max-width: 1000px) {
    .nav-menu {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .oppo-image {
        display: none;
    }

    .hero-content {
        flex-direction: column;
        align-items: self-start;
    }

    .hero-section {
        padding: 40px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-section {
        padding: 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .checkbox-group {
        font-size: 12px;
    }

    #secondModal .modal-proof-action-buttons button {
        width: 100%;
    }

    .footer {
        height: auto;
        padding-bottom: 40px;
    }

    .footer-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        gap: 30px;
    }

    .footer-links {
        flex-direction: column;
    }
       
    .container {
        --bs-gutter-x: 0;
    }

    .step1-left {
        display:none;
    }

    .section-container {
        padding: 20px;
    }

    .phone-black {
        background: linear-gradient(145deg, #1a1a1a, #333);
        left: -10px;
        transform: rotate(-15deg);
        z-index: 1;
    }

    .phone-blue {
        background: linear-gradient(145deg, #2c5aa0, #4a7bc8);
        left: 30px;
        transform: rotate(-5deg);
        z-index: 2;
    }

    .phone-purple {
        background: linear-gradient(145deg, #8b5fbf, #a88cc8);
        left: 70px;
        transform: rotate(5deg);
        z-index: 3;
    }

    .phone-white {
        background: linear-gradient(145deg, #f0f0f0, #fff);
        left: 110px;
        transform: rotate(15deg);
        z-index: 4;
    }

    .delivery-options {
        display: flex;
        flex-direction: column;
    }

    .confirmation-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media screen and (max-width: 1477px) {
    .prd-image {
        max-height: 30vh !important;
    }
}

@media screen and (max-width: 992px) {
    .prd-image {
        max-height: 30vh !important;
    }
}

@media screen and (max-width: 630px) {
    .hero-title {
        font-size: 25px;
    }
    
    .prd-image {
        /*        max-height: 80vh !important;*/
        max-height: 30vh !important;
        flex-direction: column;
    }

    .home_rewards {
        font-size: 2em;
    }
    .home_welcome {
        font-size: 1.5em;
    }
}