@import 'https://fonts.googleapis.com/css?family=Kanit|Prompt';

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Prompt', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    background-color: rgb(242 241 242);
}

/* Navbar */

.navbar{
    background-color: #ffffff;
    box-shadow: 0 0 30px rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}

.navbar-nav .nav-link {
    color: #444443;
    font-size: 1rem;
    font-weight: 400;
    transition: .5s;
}
.navbar-nav .nav-link.active{
    color: #34381c;
}

.navbar-brand .logo-img img{
    width: 50px;
}

.navbar-nav .nav-link:hover {
    color: #000000;
}

.space-nav{
    margin-top: 3.5rem;
}
/* End Navbar */

a{
    text-decoration: none;
    color: #000000;
}

/* Loading Screen */
.loader3 {
	display: flex;
	justify-content: center;
	align-items: center;
}

.circle1 {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	margin: 0 10px;
	background-color: #333;
	animation: circle1 1s ease-in-out infinite;
}

.circle1:nth-child(2) { animation-delay: 0.2s; }
.circle1:nth-child(3) { animation-delay: 0.4s; }
.circle1:nth-child(4) { animation-delay: 0.6s; }
.circle1:nth-child(5) { animation-delay: 0.8s; }

@keyframes circle1 {
	0%   { transform: scale(1); opacity: 1; }
	50%  { transform: scale(1.5); opacity: 0.5; }
	100% { transform: scale(1); opacity: 1; }
}

#loadingOverlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(3px);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	display: none; /* Hidden by default */
}

body.loading {
	overflow: hidden;
	pointer-events: none;
}

.card-form{
    width: 100%;
    padding: 40px 30px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.card-form .form-title{
    font-size: 34px;
    font-weight: 700;
}
.card-form .form-logo{
    width: 100%;
}
.card-form .form-logo img{
    width: 30%;
    object-fit: cover;
}
.card-form .lo-name{
    font-size: 26px;
    font-weight: 900;
}

.title-section{
    width: 100%;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    background-color: #222831;
    padding: 10px 15px;
    border-radius: 2px;
    margin-bottom: 1rem;
}

.input-text{
    width: 100%;
    display: flex;
    flex-direction: column;
}
.label-input{
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 5px;
    color: rgb(100, 100, 100);
}
.input-text .input{
    font-size: 14px;
    border: 1px solid #aeaeae;
    color: #767676;
    background-color: #ffffff;
    padding: 5px 10px;
    border-radius: 4px;
    width: 100%;
    transition: .3s;
}
.input-text .input::placeholder{
    color: #b9b9b9;
}
.input-text .input:focus{
    border: 1px solid #767676;
    outline: none;
}

.line-space{
    width: 100%;
    height: 1px;
    background-color: #cccccc;
    margin: 1rem 0px 2rem 0px
}

.radio-inputs {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    border-radius: 0.5rem;
    background-color: #EEE;
    box-sizing: border-box;
    box-shadow: 0 0 0px 1px rgba(0, 0, 0, 0.06);
    padding: 0.25rem;
    width: 300px;
    font-size: 14px;
}
.radio-inputs .radio {
    flex: 1 1 auto;
    text-align: center;
}
.radio-inputs .radio input {
    display: none;
}
.radio-inputs .radio .name {
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    border: none;
    padding: .5rem 0;
    color: rgba(51, 65, 85, 1);
    transition: all .15s ease-in-out;
}
.radio-inputs .radio input:checked + .name {
    background-color: #000;
    font-weight: 600;
    color: #fff;
}

.car-images{
    width: 100%;
}
.car-images img{
    width: 75%;
    object-fit: cover;
}

.color-name{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-size: 26px;
    font-weight: 600;
    color: rgb(100, 100, 100);
}

.radio-car-color {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background-color: #fafafa;
    margin-bottom: 1rem;
    width: fit-content;
    padding: 15px 40px;
    border-radius: 8px;
    border: 1px solid #000;
}
.radio {
    position: relative;
    cursor: pointer;
}
.radio input {
    display: none;
}
.radio .circle {
    width: 42px;
    height: 42px;
    border: 2px solid #6f6f6f;
    border-radius: 50%;
    display: block;
    transition: .3s;
}
.circle.black {
    background-color: #000000;
}
.circle.gray {
    background-color: #6a6d74;
}
.circle.green {
    background-color: #757974;
}
.circle.orange {
    background-color: #fe7d3d;
}
.circle.white {
    background-color: #ffffff;
}
.circle.silver {
    background-color: #f2f1f2;
}
.circle.olive {
    background-color: #6c706b;
}
.radio input:checked + .circle {
    border-color: rgb(1, 172, 1);
}

.checkbox-container {
    display: flex;
    gap: 10px;
}

.ios-checkbox {
    --checkbox-size: 20px;
    --checkbox-color: #3b82f6;
    --checkbox-bg: #dbeafe;
    --checkbox-border: #93c5fd;
    position: relative;
    display: inline-block;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.ios-checkbox input {
    display: none;
}

.checkbox-wrapper {
    position: relative;
    width: var(--checkbox-size);
    height: var(--checkbox-size);
    border-radius: 3px;
    transition: transform 0.2s ease;
}

.checkbox-bg {
    position: absolute;
    inset: 0;
    border-radius: 3px;
    border: 2px solid var(--checkbox-border);
    background: white;
    transition: all 0.2s ease;
}

.checkbox-icon {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 80%;
    height: 80%;
    color: white;
    transform: scale(0);
    transition: all 0.2s ease;
}

.check-path {
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    transition: stroke-dashoffset 0.3s ease 0.1s;
}

/* Checked State */
.ios-checkbox input:checked + .checkbox-wrapper .checkbox-bg {
    background: var(--checkbox-color);
    border-color: var(--checkbox-color);
}

.ios-checkbox input:checked + .checkbox-wrapper .checkbox-icon {
    transform: scale(1);
}

.ios-checkbox input:checked + .checkbox-wrapper .check-path {
    stroke-dashoffset: 0;
}

/* Hover Effects */
.ios-checkbox:hover .checkbox-wrapper {
    transform: scale(1.05);
}

/* Active Animation */
.ios-checkbox:active .checkbox-wrapper {
    transform: scale(0.95);
}

/* Focus Styles */
.ios-checkbox input:focus + .checkbox-wrapper .checkbox-bg {
    box-shadow: 0 0 0 4px var(--checkbox-bg);
}

.ios-checkbox.blue {
    --checkbox-color: #3b82f6;
    --checkbox-bg: #dbeafe;
    --checkbox-border: #93c5fd;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 15px;
    gap: 15px;
    background-color: #000000;
    outline: 3px #000000 solid;
    outline-offset: -3px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: 400ms;
}

.button .text {
    color: white;
    font-weight: 700;
    font-size: 1em;
    transition: 400ms;
    margin-bottom: 0px;
}

.button i {
    transition: 400ms;
    color: #ffffff;
}

.button:hover {
    background-color: transparent;
}

.button:hover .text {
    color: #000000;
}

.button:hover i {
    color: #000000;
}

.btn-accessory-delete{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}
.btn-accessory-delete i{
    font-size: 18px;
    margin-top: 20px;
}

.file-input {
    justify-content: center;
    align-items: center;
    position: relative;
}

.file-input input {
    opacity: 0;
    width: 0.1px;
    height: 0.1px;
    position: absolute;
}

.file-input label {
    background-color: #222831;
    color: aliceblue;
    padding: 10px;
    border-radius: 5px;
    width: 50%;
    left: 50%;
    cursor: pointer;
}

.file-input i {
    padding-left: 10px;
}

.clickable{
    cursor: pointer;
}

.qr-payment{
    width: 100%;
}
.qr-payment img{
    width: 100%;
    object-fit: cover;
}


@media (max-width: 992px){
    .form-title{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }
    .card-form .form-logo img{
        width: 75%;
        object-fit: cover;
    }
}

@media (max-width: 340px){
    .card-form .form-logo img{
        width: 100%;
        object-fit: cover;
    }
}
