@import url('../fonts/segoe-ui/');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #666666;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f4f8;
    margin: 0;
    padding: 0;
    height: 100vh;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    padding: 20px 0;
    background-color: white;
}

.logo {
    width: 150px;
    height: auto;
}

.form-container {
    background-color: #fff;
    padding: 40px 45px 70px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    margin: 0 auto;
    max-width: 1200px;

}

.form-fields {
    width: 550px;
    margin: 0 auto;
}

h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
}



.url-input,
.username-input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.url-input:focus,
.username-input:focus {
    outline: none;
    border-color: #b67929;
}

.sample-url-container {
    position: relative;
    background: #d7f2fd;
    padding: 10px 20px;
    font-size: 16px;
    color: #051b2c;
    border-radius: 3px;
    margin-bottom: 5px;
    display: none;
}

.sample-url-container .header {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}

.sample-url-container .header .close {
    color: #ff0000;
    width: 20px;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
}

.sample-url-container .links {
    list-style-type: none;
    text-align: start;
}

.sample-url-container .links li {
    padding: 5px;
}

.sample-url-btn {
    background: #b67929;
    color: #fff;
    line-height: 10px;
    float: right;
    margin-top: 10px;
    padding: 6px;
    border: 1px solid #b67929;
    margin-bottom: 10px;
    border-radius: 3px;
    font-family: sans-serif;
    font-weight: 400;
    font-size: 1rem;
    cursor: pointer;
}

.next-button {
    background: #b67929;
    color: #fff;
    width: 100%;
    border: solid 2px #b67929;
    font-size: 22px;
    height: 70px;
    display: flex;
    cursor: pointer;
    border-radius: 6px;
    align-items: center;
    justify-content: center;
}

.next-button:hover {
    background-color: #b97c2c;
}

/* Footer */
footer {
    margin-top: 40px;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.payment-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.payment-icons img {
    height: auto;
}

#step-2,
#step-3 {
    display: none;
}

#step-2 .container,
#step-3 .container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 5px;
    padding: 0 20px !important;
}

.left,
.right {
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.left {
    flex: 2;
    border-right: 1px solid #e0e0e0;
}

.right {
    flex: 1;
}

.upsell_container {
    display: flex;
    margin-top: 40px;
    margin-bottom: 20px;
    padding: 20px 32px;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    border: 1px solid #e7e7e7;
    border-radius: 6px;
}

.upsell_text {
    flex: 1;
    font-size: 20px;
    line-height: 35px;
    font-weight: 300;
}

#upsell {
    background-color: #8ded2d;
    border-radius: 14px;
    font-family: "Source Sans Pro", Sans-serif;
    color: #fff;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: none;
    cursor: pointer;
}

#upsell,
#upsell-remove {
    padding: 20px;
    font-size: 15px;
}

#upsell-remove.disabled {
    display: none;
}

#upsell-remove {
    background-color: #001f3f;
    border-radius: 14px;
    font-family: "Source Sans Pro", Sans-serif;
    color: #fff;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: none;
    cursor: pointer;
}

/* Media Query for smaller screens (mobile) */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .form-fields {
        width: 100%;
    }

    .form-container {
        padding: 40px 18px 70px;
    }

    #step-2 .container,
    #step-3 .container {
        flex-direction: column;
        height: auto;
    }

    .left {
        flex: 1;
        border-right: none;
        /* Remove border for stacked layout */
        border-bottom: 1px solid #e0e0e0;
        /* Optional: Add bottom border */
    }

    .right {
        flex: 1;
    }

    .upsell_container {
        display: block;
    }

    #upsell,
    #upsell-remove {
        width: 100%;
        margin-top: 20px;
    }

    /* #step-3 .content {
        height: 620px !important;
    } */
}

.title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.title i {
    color: #ff4d4d;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
    font-weight: 300;
    font-size: 24px;
    text-align: center;
    padding: 15px 0px 25px;
    max-width: 400px;
    margin: 0 auto;
}

#step-3 .content {
    height: 620px;
    padding: 50px 0;
    display: flex;
    justify-content: center;
}

.summary {
    font-size: 14px;
    color: #666;
    height: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.summary .heading {
    padding-bottom: 10px;
    border-bottom: 1px solid #efefef;
    font-weight: 800;
}

.summary .price {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.summary .price span {
    font-size: 14px;
    color: #999;
}

.summary .features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    margin-bottom: 100px;
    margin-top: 50px;
    font-size: 1rem;
}

.summary .features p {
    margin: 5px 0;
}

.checkout {
    background-color: #001f3f;
    border: none;
    cursor: pointer;
    color: #fff;
    width: 100%;
    font-size: 22px;
    height: 70px;
    display: flex;
    cursor: pointer;
    border-radius: 14px;
    align-items: center;
    justify-content: center;
}

.product_summary {
    width: 100%;
    margin-top: 5px;
}

.product_summary tbody td,
.product_summary tfoot td {
    padding: 10px 0;
}

.product_summary td:nth-child(2) {
    text-align: end;
}

.show-coupon-field {
    display: flex;
    align-items: center;
    margin-top: 40px;
    gap: 10px;
}

.show-coupon-field input {
    width: 100%;
    border: 1px solid #666;
    border-radius: 3px;
    padding: 0.8rem 1rem;
    font-size: .9rem;
    transition: all .3s;
    max-width: 160px;
}

.show-coupon-field button {
    color: inherit;
    border: unset;
    background: transparent;
    font-weight: 400;
    padding: .5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
}