﻿body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f5f5;
    margin: 0;
}

.bg-section-box {
    background-image: url('../image/product/bg-section.jpg');
    /* Optional properties for better display */
    background-size: cover; /* Cover the entire container */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent repeating */
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.login-box {
    background: linear-gradient(to bottom, #0d6eb4, #1997f1);
    padding: 30px;
    width: 100%;
    max-width: 450px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.50);
    text-align: center;
}

.pb-5 {
    padding-bottom: 1rem;
}

.pb-7 {
    padding-bottom: 1.5rem;
}

.fw-6 {
    font-weight: 600;
}

.icon-box {
    width: 70px;
    height: 65px;
    background: white;
    border-radius: 12px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .icon-box img {
        width: auto;
        height: 55px;
    }

.login-container h2, h3 {
    margin-bottom: 5px;
    color: #ffffff;
}

.login-container .subtitle {
    font-size: 0.9rem;
    color: #ffffff;
    margin: 15px;
}


.input-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.input-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 1.2rem;
}

.gradient-box .input-icon {
    color: #888;
}
/*input[type=text], input[type=email], input[type=number], input[type=search], input[type=password], input[type=tel], input[type=date], textarea, select, .form-control {
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    background-color: #fff;
    border: 1px solid #eceaea;
    border-radius: 0px;
    padding: 12px 40px;
    width: 100%;
    color: #444444;
    height: auto;
    margin-bottom: 0px;
    box-shadow: none;
    border-radius: 5px;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgb(0 0 0 / 20%);
}*/
.input-field {
    width: 100%;
    padding: 5px 30px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
}

.btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: #fdba1c;
    color: white;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 10px;
}

    .btn:hover {
        background: transparent;
        border: 1px solid white;
        color: white;
    }

    .btn.guest {
        background: transparent;
        border: 1px solid white;
    }

        .btn.guest:hover {
            background: #fdba1c;
        }

.section-separator {
    text-align: center;
    margin: 20px 0;
    font-size: 0.9rem;
    color: #888;
}

    .section-separator a {
        color: white;
        text-decoration: auto;
    }

        .section-separator a:hover {
            color: yellow;
        }

/*car insurance  */
.car-insurance-box {
    background: linear-gradient(to bottom, #0d6eb4, #1997f1);
    padding: 30px;
    width: 100%;
    max-width: 650px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.50);
    text-align: center;
}

    .car-insurance-box .form-container {
        display: flex;
        width: 100%;
        max-width: 600px;
        border: 1px solid #ddd;
    }

    .car-insurance-box .input-box {
        flex: 1;
        border: none;
        padding: 12px;
        font-size: 14px;
        outline: none;
    }

    .car-insurance-box .btn-view {
        background-color: #ffb400;
        color: #ffffff;
        border-radius: 0 5px 5px 0;
        padding: 0 15px;
        cursor: pointer;
        font-size: 14px;
        font-weight: bold;
        transition: 0.3s;
        border: none;
    }

        .car-insurance-box .btn-view:hover {
            background-color: #e6a600;
        }

    .car-insurance-box .input-box {
        border-radius: 5px 0 0 5px;
    }

    .car-insurance-box .rto-codes {
        display: none;
        margin-top: 10px;
    }

        .car-insurance-box .rto-codes button {
            background: #f0f0f0;
            margin: 3px;
            padding: 8px 15px;
            border-radius: 6px;
            cursor: pointer;
            border: 1px solid #ddd;
        }

            .car-insurance-box .rto-codes button:hover {
                background: #0d6eb4;
                color: #fff;
            }

    .car-insurance-box .rto-group {
        width: 100%;
        margin-bottom: 10px;
        text-align: left;
    }

        .car-insurance-box .rto-group > button {
            width: 100%;
            text-align: left;
            background: #eee;
            border-radius: 6px;
            padding: 10px;
            font-weight: 500;
            border: none;
            cursor: pointer;
        }

            .car-insurance-box .rto-group > button:hover {
                background: #0d6eb4;
                color: #fff;
            }

#car-insurance-modal {
    display: block;
}



.step-header {
    background: #ffb400;
    color: #fff;
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.step-title {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: .2px;
}

.nav-btn {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    padding: 6px 10px;
    cursor: pointer;
}

    .nav-btn[disabled] {
        opacity: .45;
        cursor: not-allowed;
    }

/* Step screens */


/* Make RTO content behave like an in-page panel instead of overlay */
.brand-modal {
    position: static !important;
    background: transparent;
}

.brand-content {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

/* Simple RTO grid */
.rto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(180px,1fr));
    gap: 12px;
}

.rto-group > button {
    width: 100%;
    border: 1px solid #e5e7eb;
    padding: 10px;
    border-radius: 10px;
    background: #f8fafc;
    font-weight: 600;
}

.rto-codes {
    display: none;
    margin-top: 8px;
}

    .rto-codes button {
        margin: 4px 6px 0 0;
        border: 1px solid #e5e7eb;
        background: #fff;
        border-radius: 8px;
        padding: 6px 10px;
    }

/* Minor tweaks */

.btn-view {
    white-space: nowrap;
}

.section-separator {
    margin-top: 12px;
    text-align: center;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(120px,1fr));
    gap: 12px;
}

.brand-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}

    .brand-item img {
        max-width: 65px;
        max-height: 65px;
    }

#stepModal {
    display: none;
}

#brandModal {
    display: none;
}

.other-button {
    width: 10rem !important;
}

    .other-button:hover {
        background: transparent;
        border: 1px solid #000000 !important;
        color: #000000 !important;
    }
