﻿/*--------------------
        Form
        --------------------*/
.title-sm:before {
    bottom: 5px !important;
    height: 5px !important;
}


.col-lg-12.d-flex.flex-row.justify-content-between {
    flex-direction: column !important;
    gap: 10px;
}

.select {
    border-radius: 5px;
    outline: none !important;
    border: 1px solid rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.2);
}

.form fieldset {
    border: none;
    padding: 0;
    padding: 10px 0;
    position: relative;
    clear: both;
}

    .form fieldset.fieldset-expiration {
        float: left;
        width: 90%;
    }

        .form fieldset.fieldset-expiration .select {
            margin-right: 12px;
            float: left;
        }

    .form fieldset.fieldset-ccv {
        clear: none;
        float: right;
        width: 86px;
    }

    .form fieldset label {
        display: block;
        text-transform: uppercase;
        font-size: 11px;
        color: rgba(0, 0, 0, 0.6);
        margin-bottom: 5px;
        font-weight: bold;
        font-family: Varela Round;
    }

    .form fieldset input {
        width: 100%;
    }

    .form fieldset .select,
    .form fieldset input {
        height: 38px;
        color: #333333;
        padding: 10px;
        border-radius: 5px;
        font-size: 15px;
        outline: none !important;
        border: 1px solid rgba(0, 0, 0, 0.3);
        box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.2);
    }

        .form fieldset input.input-cart-number,
        .form fieldset .select.input-cart-number {
            width: 82px;
            display: inline-block;
            margin-right: 8px;
        }

            .form fieldset input.input-cart-number:last-child,
            .form fieldset .select.input-cart-number:last-child {
                margin-right: 0;
            }

    .form fieldset .select {
        position: relative;
    }

        .form fieldset .select::after {
            content: "";
            border-top: 8px solid #222;
            border-left: 4px solid transparent;
            border-right: 4px solid transparent;
            position: absolute;
            z-index: 2;
            top: 14px;
            right: 10px;
            pointer-events: none;
        }

        .form fieldset .select select {
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            position: absolute;
            padding: 0;
            border: none;
            width: 100%;
            outline: none !important;
            top: 6px;
            left: 6px;
            background: none;
        }

            .form fieldset .select select :-moz-focusring {
                color: transparent;
                text-shadow: 0 0 0 #000;
            }

.form button {
    width: 100%;
    outline: none !important;
    text-transform: uppercase;
    font-weight: bold;
    border: none;
    box-shadow: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    margin-top: 10px;
}

    .form button .fa {
        margin-right: 6px;
    }

/*--------------------
        Checkout
        --------------------*/
.checkout {
    margin: 150px auto 30px;
    position: relative;
    background: white;
    border-radius: 15px;
    padding: 160px 10px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/*--------------------
        Credit Card (Common Styles)
        --------------------*/
.credit-card-box, .credit-card-adv-box {
    perspective: 1000;
    width: 400px;
    height: 280px;
    position: absolute;
    top: -112px;
    left: 50%;
    transform: translateX(-50%);
}

    .credit-card-box .flip, .credit-card-adv-box .flip {
        transition: 0.6s;
        transform-style: preserve-3d;
        position: relative;
    }

    .credit-card-box .front, .credit-card-adv-box .front,
    .credit-card-box .back, .credit-card-adv-box .back {
        width: 100%;
        height: 250px;
        border-radius: 15px;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        position: absolute;
        color: black;
        top: 0;
        left: 0;
        text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
        box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
    }

    .credit-card-box .number, .credit-card-adv-box .number {
        position: absolute;
        margin: 0 auto;
        top: 103px;
        left: 19px;
        font-size: 38px;
    }

    .credit-card-box label, .credit-card-adv-box label {
        font-size: 10px;
        letter-spacing: 1px;
        text-shadow: none;
        text-transform: uppercase;
        font-weight: normal;
        opacity: 0.98;
        display: block;
    }

    .credit-card-box .card-name, .credit-card-adv-box .card-name,
    .credit-card-box .card-expiration-date, .credit-card-adv-box .card-expiration-date {
        position: absolute;
        margin: 0 auto;
        top: 180px;
        left: 19px;
        font-size: 22px;
        text-transform: capitalize;
    }

    /*--------------------
        Credit Card (Specific Styles)
        --------------------*/
    .credit-card-box .front {
        z-index: 2;
        transform: rotateY(0deg);
    }

    .credit-card-box .back {
        transform: rotateY(180deg);
        background: url('assets/img/new-card-bg.png') no-repeat center;
        border-radius: 15px;
    }

        .credit-card-box .front::before, .credit-card-box .back::before {
            content: "";
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            background: url('/assets/img/new-card-bg.png') no-repeat center;
            background-size: 100%;
            border-radius: 15px;
        }

    .credit-card-adv-box .front {
        z-index: 2;
        transform: rotateY(0deg);
        background: url('/assets/img/new-card-adv-bg.png') no-repeat center;
        border-radius: 15px;
    }

    .credit-card-adv-box .back {
        transform: rotateY(180deg);
        background: url('/assets/img/new-card-adv-bg.png') no-repeat center;
        border-radius: 15px;
    }

        .credit-card-adv-box .front::before, .credit-card-adv-box .back::before {
            content: "";
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            background: url('/assets/img/new-card-adv-bg.png') no-repeat center;
            background-size: 100%;
            border-radius: 15px;
        }

/*--------------------
        Card Holder Details
        --------------------*/
.card-expiration-date {
    font-family: 'Varela Round';
    text-align: right;
    left: auto;
    right: 20px;
    width: 175px;
}

.card-name {
    font-family: 'Varela Round';
    text-align: right;
    left: auto;
    right: 20px;
    width: 278px;
}

/*--------------------
        Product Styling
        --------------------*/
.product, .productAdv {
    font-family: 'Varela Round';
    text-align: right;
    white-space: nowrap;
    background-color: #17316a;
    border-radius: 10px;
    font-size: 15px;
    color: white;
    opacity: 0.9;
}

/*--------------------
        Additional Styles
        --------------------*/
.the-most {
    position: fixed;
    z-index: 1;
    bottom: 0;
    left: 0;
    width: 50vw;
    max-width: 200px;
    padding: 10px;
}

    .the-most img {
        max-width: 100%;
    }


.lead {
    margin-top: 50px;
}

.dots-wrapper {
    margin: 0 auto;
    background-color: #fff;
    line-height: 60px;
    border-radius: 0;
    box-shadow: none;
}

    .dots-wrapper ul.dots li {
        height: 20px;
        width: 20px;
        background: #ccc;
        border-radius: 50%;
        margin-left: 3px;
        margin-right: 3px;
        cursor: pointer;
    }

        .dots-wrapper ul.dots li:hover {
            background: #bbb;
        }

        .dots-wrapper ul.dots li.active {
            background: #066CB6;
        }

#birth-year {
    padding: .375rem 1.25rem .375rem .75rem !important;
}

.title-card-text {
    font-weight: 500;
    position: relative;
    z-index: 2;
    display: inline-block;
}

@@media (max-width: 480px) {
    .product, .productAdv {
        font-size: 12px !important;
    }

    #clientDateBirthAdv, #clientNifAdv, #clientNumberAdv, #clientDateBirth, #clientNif, #clientNumber {
        font-size: 9px;
    }

    .credit-card-box,
    .credit-card-adv-box {
        width: 93% !important;
    }

        .credit-card-adv-box .front {
            background: none;
        }

        .credit-card-box .front, .credit-card-adv-box .front, .credit-card-box .back, .credit-card-adv-box .back {
            text-shadow: unset;
            box-shadow: unset;
            border-radius: 15px;
        }

    .col-lg-12.d-flex.flex-row.justify-content-between {
        flex-direction: column !important;
        gap: 10px;
    }

    #all-bottom-fields {
        margin-bottom: 15% !important;
    }
}


@@media (max-width: 304px) {
    .card-text-description-center {
        text-align: center !important;
    }
}


@@media only screen and (max-width: 340px) {
    #clientNumberAdv, #clientNumber, #clientDateBirthAdv, #clientDateBirth, #clientNifAdv, #clientNif {
        font-size: 5px;
    }

    #all-bottom-fields {
        margin-bottom: 29% !important;
    }

    #labelClient, #labelClientAdv, #labelNif, #labelNifAdv, #labelDateBirth, #labelDateBirthAdv {
        font-size: 7px;
    }

    #product, #productAdv {
        font-size: 8px !important;
    }

    .product-name-card {
        margin-top: 4.5rem !important;
    }
}

