main {
    padding: 80px 0 100px 0;

}

@media (max-width: 768px) {
    main {
        padding: 0px 0px 40px 0px;
        max-width: calc(100vw - 40px);
    }
}

/* Select Gift OTP Page */
.gift-container {
    display: flex;
    flex-direction: row;
    gap: 100px;
    width: fit-content;
    margin: 0 auto;
    padding: 40px;
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

/* Text Content Section */
.gift-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 2;
    text-align: center;
    max-width: 418px;
    width: 100%;
}

.gift-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.gift-subtitle {
    font-size: 23px;
    font-weight: 700;
    line-height: 30px;
    color: #F2A347;
}

.gift-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 30px;
    color: #0B0427;
}

.gift-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px 16px;
    background: #2020B3;
    border: 2px solid #fff;
    border-radius: 6px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 34px;
    cursor: pointer;
    transition: background 0.2s ease;
    min-width: 264px;
    width: 100%;
    height: 50px;
}

.gift-button:hover {
    background: #1a1a99;
}

.inputs-container {
    width: 100%;
}

/* OTP Form Styles */
.otp-description {
    font-size: 23px;
    font-weight: 700;
    line-height: 30px;
    color: #0B0427;
    text-align: right;
    width: 100%;
}

.otp-input-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    width: 100%;
    padding: 20px 0;
}

.otp-label {
    font-size: 18px;
    font-weight: 500;
    line-height: 18px;
    color: #000;
    text-align: right;
}

.otp-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #000;
    padding: 4px;
    font-size: 18px;
    font-weight: 400;
    line-height: 16px;
    color: #000;
    text-align: right;
    background: transparent;
    outline: none;
}

.otp-input::placeholder {
    color: #000;
    opacity: 0.3;
}

.otp-input:focus {
    border-bottom-color: #2020B3;
}

.otp-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}

.otp-link {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    color: #2020B3;
    text-decoration: underline;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.otp-link:hover {
    opacity: 0.8;
}

.gift-image-container {
    width: 380px;
    height: 293px;
}

.gift-image {
    object-fit: cover;
    object-position: 0px 20px;
    z-index: 2;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .gift-container {
        padding: 20px;
        flex-direction: column-reverse;
        gap: 20px;
    }

    .gift-card {
        flex-direction: column;
        padding: 28px 24px;
        border-radius: 20px;
        gap: 20px;
        min-height: auto;
    }

    .gift-image-section {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        height: 200px;
        order: -1;
    }

    .gift-image-container {
        width: 100%;
    }

    .gift-image {
        object-position: -20px 0px;
    }

    .gift-content {
        max-width: 100%;
    }

    .gift-subtitle {
        font-size: 20px;
    }

    .gift-title {
        font-size: 26px;
        line-height: 28px;
    }

    .gift-button {
        width: 100%;
        min-width: auto;
    }

    .otp-description {
        font-size: 20px;
        line-height: 26px;
    }

    .otp-label {
        font-size: 16px;
    }

    .otp-input {
        font-size: 16px;
    }

    .otp-links {
        flex-direction: row;
        gap: 10px;
    }

    .otp-link {
        font-size: 16px;
    }
}
