body.pageLabel--regalo-san-valentin,
body.pageLabel--regalo-san-valentin-condiciones,
body.pageLabel--regalo-san-valentin-proteccion-datos {

    div.container-wrapper {
        background-color: rgb(219, 205, 210) !important;
    }
}

div.valentines-gift-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 16px;
    margin: auto;
    padding-right: 15px;
    padding-left: 15px;

    label, p {
        font-weight: 300;
    }

    .gift-form-error-message {
        display: block;
        text-align: center;
        color: #ff0000;
        font-size: 14px;
    }

    .gift-form-success-message {
        text-align: center;
        color: #008000;
        font-size: 14px;
    }

    .gift-form-error-message.span-form-error-message {
        transform: translateY(-12px);
    }

    .gift-entitlement-container input,  
    .gift-creation-container input {
        display: block;
        width: 100%;
        height: 34px;
        padding: 6px 12px;
        font-size: 14px;
        line-height: 1.42857143;
        color: #555;
        margin-bottom: 10px;
        background-color: #fff;
        background-image: none;
        border: 1px solid #ccc;
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
        transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    }

    .gift-entitlement-container input {
        width: unset;

        &:disabled {
            background-color: #eee;
            cursor: not-allowed;
        }
    }

    button.submitValentineGiftEntitlement,  
    button.submitValentineGiftCreation {
        font-size: 16px;
        color: #ffffff;
        background-color: #337ab7;
        border: #337ab7;
        border-radius: 8px;
        height: 45px;
        width: 170px;
        margin-bottom: 30px;
        align-self: center;
        &:hover{
            background-color: #F39D00;
        }
        &:disabled {
            background-color: #ccc;
            cursor: not-allowed;
        }
    }
    
    button.submitValentineGiftCreation {
        margin-top: 15px;
        width: fit-content;
    }

    .section2A-logista-valentines-gift-top-and-form-content {
        width: 100%;
        display: flex;
        flex-direction: column;

        div.logista-valentines-gift-top-form-banner {
            display: none;
            img {
                width: 100%;
                height: auto;
            }
        }

        div.logista-valentines-gift-explanatory-banner {
            display: block;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 15px;
            img {
                width: 100%;
                height: auto;
            }
        }

        .gift-entitlement-container {
            align-self: center;
            margin: auto;
            width: 350px;

            #giftEntitlementForm {
                display: flex;
                flex-direction: column;

                .gift-entitlement-form-inputs-wrapper {
                    display: flex;
                    justify-content: space-between;
                    margin-bottom: 20px
                }

                button.submitValentineGiftEntitlement {
                    margin-bottom: 20px;
                }
            }

            .gift-form-success-message, .gift-form-error-message {
                text-align: justify;
            }
        }

        #giftEntitlementResultInsufficientAmount,
        #giftEntitlementResultDuplicatedRequest,
        #giftEntitlementResultCampaignInactive,
        #giftEntitlementResultInvalidRequest {
            margin-bottom: 15px;
            max-width: 450px;
            align-self: center;
        }

        #giftEntitlementResultInsufficientAmount {
            span.gift-insufficient-amount-error-title {
                display: block;
                font-size: 16px;
                margin-bottom: 16px;
            }
            .customer-service-phone {
                color: #333;
            }
        }
    }

    .gift-creation-container {
        width: 65%;
        #giftCreationForm {
            display: flex;
            flex-direction: column;    
            
            .required-field.active {
                border-color: #ff0000;
            }
            .form-section {
                display: flex;
                flex-direction: column;
                align-items: start;
            }

            .form-section.checkbox-section {
                flex-direction: column;
                margin-bottom: 10px;

                .checkbox-group {
                    display: flex;
                    align-items: center;

                    input[type="radio"],
                    input[type="checkbox"] {
                        width: 16px;
                        height: 16px;
                        margin: unset;
                        margin-right: 15px;
                        box-shadow: unset;
                        accent-color: #000000;
                    }
                    label {
                        margin: unset;
                        margin-top: 2px;
                        font-weight: 300;

                        span {
                            color: #8d8d8d;
                        }

                        a {
                            color: #337ab7;
                        }
                    }

                    &.conditions-checkbox-group {
                        position: relative;
                        display: block;
                        margin-bottom: 10px;
                        
                        input[type="checkbox"], label {
                            display: inline-block;
                        }

                        label {
                            transform: translate(-6px, -3px);
                        }

                        .span-form-error-message {
                            position: absolute;
                            text-align: justify;
                            top: 29px;
                        }
                    }

                    
                }
                
            }

            .form-section.recipient-name-section {

                .recipient-name-fields-wrapper {
                    display: flex;
                    width: 100%;
                    justify-content: space-between;

                    .recipient-name-field {
                        display: flex;
                        flex-direction: column;
                        align-items: start;
                        flex: 1.2;
                        margin-right: 10px;

                        &:last-child {
                            flex: 2;
                            margin-right: 0;
                        }
                    }
                }

            }

            .form-section.form-address-section {
                .small-address-fields-wrapper {
                    display: flex;
                    justify-content: space-between;

                    input {
                        flex: 1;
                        margin-right: 10px;

                        &:last-child {
                            flex: 1.4;
                            margin-right: 0;
                        }
                    }
                }

            }

        }

        #giftCreationResultSuccess {
            color: #943127;

            .valentines-gift-success-content-slot {
                background-color: #E5DCDF;
                padding: 10px 0px;
        
                .logista-valentines-gift-logista-logo-banner {
                    img {
                        width: 150px;
                    }
                }

                .logista-valentines-gift-icon-banner {
                    img {
                        width: 150px;
                        margin-bottom: 10px
                    }
                }

                h3 {
                    margin-bottom: 25px;
                    font-size: 27px;
                    font-weight: 600;
                }

                p {
                    font-size: 16px;
                    width: 300px;
                    margin: auto;
                    margin-bottom: 16px;

                    .highlight {
                        font-weight: 700;
                        font-size: unset;
                    }
                }

                span {
                    font-size: 11px;
                    display: block;
                    max-width: 480px;
                    margin: auto;
                }
            }

            .valentines-gift-success-footer-slot {
                background-color: #EFACBB;
                padding: 10px 0px 10px 0px;

                .logista-valentines-gift-logista-logo-banner {
                    .thumb {
                        height: 52px;
                    }
                    img {
                        width: 130px;
                    }
                }

                p {
                    color: #343434;
                    max-width: 385px;
                    margin: auto;
                    padding-top: 5px;

                    .highlight {
                        font-weight: 700;
                        font-size: unset;
                    }
                }

            }
        }
    }

    
}

/* Styles for .info-field in GiftEntitlement form */
.info-field {
    label {
        display: flex;
        align-items: center;
    }
}

.info-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 6px;
    border-radius: 50%;
    border: 1px solid #000;
    background: transparent;
    color: #000;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
}

.info-text {
    position: absolute;
    top: 0;
    left: calc(100% + 8px);
    background: #333;
    color: #fff;
    padding: 8px 10px;
    border-radius: 4px;
    font-size: 12px;
    width: 300px;
    white-space: normal;
    word-wrap: break-word;
    display: none;
    z-index: 20;
}

/* End of styles for .info-field in GiftEntitlement form */

@media (max-width: 767px) {
    .info-text {
        width: 150px;
    }
}
