/*
==========================================
CHECK OUT PAGE
==========================================
*/

.checkout-page{

    min-height:100vh;

    background:linear-gradient(135deg, var(--bg-body), var(--bg-surface-2));

    padding:120px 0 80px;

}

/*
==========================================
BACK BUTTON
==========================================
*/

.back-button{

    display:inline-flex;

    align-items:center;

    gap:8px;

    margin-top:10px;

    margin-bottom:25px;

    text-decoration:none;

    font-weight:500;

    color:var(--primary);

    transition:.3s;

}

.back-button:hover{

    color:#0b5ed7;

}

/*
==========================================
HEADER
==========================================
*/

.page-header{

    margin-bottom:35px;

}

.page-header h1{

    font-size:52px;

    font-weight:700;

    margin-bottom:12px;

    color:var(--text);

}

.page-header p{

    color:var(--gray);

    font-size:18px;

    line-height:30px;

}

/*
==========================================
CARD
==========================================
*/

.checkout-card{

    background:#fff;

    border-radius:22px;

    padding:40px;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    margin-bottom:30px;

}

/*
==========================================
FORM
==========================================
*/

.form-label{

    font-weight:600;

    margin-bottom:10px;

}

.form-control{

    height:55px;

    border-radius:12px;

    border:1px solid #dcdcdc;

    transition:.3s;

}

.form-control:focus{

    border-color:var(--primary);

    box-shadow:0 0 0 .2rem rgba(13,110,253,.15);

}

.alert{

    border-radius:12px;

}

.btn-primary{

    height:56px;

    border-radius:12px;

    font-size:17px;

    font-weight:600;

}
/*
==========================================
VISITOR CARD
==========================================
*/

.visitor-card{

    background:#ffffff;

    border-radius:22px;

    padding:40px;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    animation:fadeUp .4s ease;

}

.visitor-photo{

    width:180px;

    height:180px;

    margin:auto;

    border-radius:50%;

    overflow:hidden;

    border:6px solid #EAF2FF;

    background:#F8F9FA;

}

.visitor-photo img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.visitor-card h4{

    font-weight:700;

    margin-bottom:25px;

}

.visitor-card label{

    font-size:14px;

    color:var(--gray);

    margin-bottom:6px;

    display:block;

}

.visitor-card h6{

    font-size:17px;

    font-weight:600;

    color:var(--text);

    margin-bottom:0;

}

.visitor-card p{

    color:var(--text);

    line-height:28px;

}

.badge{

    font-size:15px;

    padding:10px 18px;

    border-radius:50px;

}

/*
==========================================
CHECK OUT BUTTON
==========================================
*/

#checkoutButton{

    height:58px;

    border-radius:12px;

    font-size:17px;

    font-weight:600;

    transition:.3s;

}

#checkoutButton:hover{

    transform:translateY(-2px);

    box-shadow:0 12px 25px rgba(220,53,69,.25);

}

/*
==========================================
ANIMATION
==========================================
*/

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}
/*
==========================================
SUCCESS MODAL
==========================================
*/

.success-icon{

    width:110px;

    height:110px;

    margin:auto;

    border-radius:50%;

    background:#E8F8EE;

    display:flex;

    align-items:center;

    justify-content:center;

}

.success-icon i{

    font-size:60px;

    color:#198754;

}

.modal-content{

    border:none;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 15px 40px rgba(0,0,0,.12);

}

.modal-header{

    border-bottom:none;

    padding:22px 25px;

}

.modal-body{

    padding:40px;

}

.modal-footer{

    border-top:none;

    padding:20px 25px;

}

.modal-title{

    font-weight:700;

}

.btn-secondary{

    border-radius:10px;

}

.btn-danger{

    border-radius:10px;

}

.btn-primary{

    border-radius:10px;

}

/*
==========================================
RESPONSIVE
==========================================
*/

@media (max-width:991px){

    .checkout-card{

        padding:30px;

    }

    .visitor-card{

        padding:30px;

    }

    .visitor-photo{

        width:150px;

        height:150px;

        margin-bottom:25px;

    }

}

@media (max-width:768px){

    .checkout-page{

        padding:100px 0 60px;

    }

    .page-header{

        text-align:center;

    }

    .page-header h1{

        font-size:36px;

    }

    .page-header p{

        font-size:16px;

    }

    .checkout-card{

        padding:25px;

    }

    .visitor-card{

        padding:25px;

    }

    .visitor-photo{

        width:130px;

        height:130px;

    }

    .visitor-card h4{

        text-align:center;

    }

    .badge{

        margin-bottom:25px;

    }

}

@media (max-width:576px){

    .checkout-page{

        padding:90px 0 40px;

    }

    .page-header h1{

        font-size:30px;

    }

    .checkout-card{

        padding:20px;

        border-radius:16px;

    }

    .visitor-card{

        padding:20px;

        border-radius:16px;

    }

    .visitor-photo{

        width:110px;

        height:110px;

    }

    .form-control{

        height:50px;

    }

    .btn{

        height:50px;

    }

}