
.form-container {
    background-color: #ffffff;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
    padding: 2rem 1.75rem 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
}


.form-wrapper {
    max-width: 340px;
    margin: 0 auto;
    width: 100%;
}


.form-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.form-header p {
    font-size: 0.9rem;
    color: #555555;
    line-height: 1.3;
    max-width: 300px;
    margin: 0 auto;
}


.form-control-custom {
    border: 1px solid #d1d1d1;
    border-radius: 0.5rem;
    padding: 0.65rem 0.9rem;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    font-size: 0.95rem;
}

.form-control-custom:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}


.input-group-custom .input-group-text {
    padding: 0.65rem 0.9rem;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #d1d1d1;
    border-right: 0;
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.4;
   
}

.input-group-custom .form-control {
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
    border: 1px solid #d1d1d1;
    border-left: 0;
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    box-sizing: border-box;
    
    line-height: 1.4;
}


.input-group-custom .input-group-text,
.input-group-custom .form-control {
   
    height: auto;
}


.birthday-input {
    width: 86px;
    /* Un poco más estrecho */
    text-align: center;
    border: 1px solid #d1d1d1;
    border-radius: 0.5rem;
    padding: 0.55rem 0.45rem;
    margin-right: 0.6rem;
    font-size: 0.9rem;
}

.birthday-input:last-child {
    margin-right: 0;
}

.birthday-input:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}


.btn-subscribe {
    background-color: #e86300;
    color: #ffffff;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    padding: 0.7rem;
    /* Ancho del botón se ajusta al contenedor del form-wrapper */
    width: 100%;
    transition: background-color 0.2s ease-in-out;
    font-size: 1rem;
}

.btn-subscribe:hover {
    background-color: #d15400;
    color: #ffffff;
}


.disclaimer {
    font-size: 0.75rem;
    color: #777777;
    margin-top: 1rem;
    line-height: 1.3;
    text-align: center;
}

.disclaimer a {
    color: #e86300;
    text-decoration: none;
    font-weight: 500;
}

.disclaimer a:hover {
    text-decoration: underline;
}


.form-group label {
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333333;
}

.form-group {
    margin-bottom: 1.2rem;
}

#couponModal .modal-dialog {
    overflow: visible;
}

#couponModal .modal-content {
    background-color: transparent;
    border: none;
    overflow: visible;
}


.coupon-box {
    background: #ffffff;
    border: 2px dashed #e86300;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    min-width: 320px;
    max-width: 520px;
}


.coupon-box::before,
.coupon-box::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
}

.coupon-box::before {
    top: calc(50% - 10px);
    left: -10px;
}

.coupon-box::after {
    top: calc(50% - 10px);
    right: -10px;
}


.coupon-close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 1.2rem;
    color: #333333;
    background: transparent;
    border: none;
    padding: 0;
    line-height: 1;
    cursor: pointer;
}

.coupon-close-btn:hover {
    color: #e86300;
}

.coupon-left {
    background: linear-gradient(135deg, #e86300 0%, #ff9a3d 100%);
    color: #ffffff;
    width: 100px;
    min-height: 100px;
    border-radius: 6px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.coupon-left h2 {
    font-size: 2rem;
    margin: 0;
    line-height: 1;
}

.coupon-left span {
    font-size: 0.75rem;
}


.coupon-right {
    padding-left: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.coupon-right h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333333;
    margin: 0 0 0.5rem 0;
}

.coupon-right p {
    font-size: 0.9rem;
    color: #555555;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.coupon-code {
    background-color: #f8f8f8;
    border: 1px dashed #e86300;
    padding: 0.6rem 1rem;
    border-radius: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #e86300;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    text-align: center;
    margin: 0 auto;
}


@media (max-width: 576px) {
    .coupon-box {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0.8rem;
        min-width: 280px;
    }

    .coupon-left {
        width: 100%;
        border-radius: 6px 6px 0 0;
        min-height: 80px;
    }

    .coupon-right {
        padding-left: 0;
        padding-top: 0.8rem;
        align-items: center;
    }

    .coupon-close-btn {
        top: 4px;
        right: 4px;
        font-size: 1.1rem;
    }
}