﻿/* Checkout section */

.checkout {
    margin-top: 2rem;
    background-color: #646464;
    color: #fff;
    padding: 1.5rem 0;
}

    .checkout h5 {
        margin: 0;
        margin-bottom: 0.5rem;
    }

.text-input {
    border: none;
    background-color: #fff;
    width: 100%;
    color: #333;
    padding: 1rem 1rem;
}
.text-input-margin {
    margin: 1px 0;
}

.checkout section {
    margin-bottom: 1rem;
}

.coupon-text {
    position: relative;
}

.use-coupon-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 100%;
    background-color: #f6f8f2;
    color: #729961;
    font-weight: 600;
    text-transform: uppercase;
    padding-top: 10px;
}

.light-section {
    background-color: rgba(255, 255, 255, 0.3);
}

    .light-section div {
        height: 100%;
    }

        .light-section div:first-child {
            padding: 1rem;
            position: relative;
        }

.space {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tip-btn {
    margin: 0;
    height: 100%;
    padding: 1rem;
    background-color: transparent;
    border-radius: 0;
    border: none;
    color: #fff;
}

    .tip-btn:hover {
        color: #fff;
    }

    .tip-btn.selected {
        background-color: #729961;
        color: #fff;
    }


/* Custom Radio button */
.radio-wrapper {
    display: block;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 1rem;
    font-weight: 400;
}

    .radio-wrapper input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        top: 0;
        left: 0;
    }

.checkmark {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    height: 25px;
    width: 25px;
    background-color: #f6f8f2;
    border-radius: 50%;
}
.checkmark-receipt {
    background-color: #f6f8f2;
    border: 1px solid #ddd;
}

.radio-wrapper:hover input ~ .checkmark {
    background-color: #fff;
}

.radio-wrapper input:checked ~ .checkmark {
    background-color: #729961;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.radio-wrapper input:checked ~ .checkmark:after {
    display: block;
}

.radio-wrapper .checkmark:after {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
}
