@font-face {
    font-family: "EC";
    src: url('../fonts/IRR-EC.eot?#') format('embedded-opentype'),
        url('../fonts/IRR-EC.woff') format('woff'),
        url('../fonts/IRR-EC.woff2') format('woff2'),
        url('../fonts/IRR-EC.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'EC';
    src: url('../fonts/IRR-EC_Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/IRR-EC_Bold.woff') format('woff'),
        url('../fonts/IRR-EC_Bold.woff2') format('woff2'),
        url('../fonts/IRR-EC_Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'EC';
    src: url('../fonts/IRR-EC_Light.eot?#iefix') format('embedded-opentype'),
        url('../fonts/IRR-EC_Light.woff') format('woff'),
        url('../fonts/IRR-EC_Light.woff2') format('woff2'),
        url('../fonts/IRR-EC_Light.ttf') format('truetype');
    font-weight: lighter;
    font-style: normal;
}

@font-face {
    font-family: 'EC';
    src: url('../fonts/IRR-EC_Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/IRR-EC_Medium.woff') format('woff'),
        url('../fonts/IRR-EC_Medium.woff2') format('woff2'),
        url('../fonts/IRR-EC_Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'EC';
    src: url('../fonts/IRR-EC_UltraLight.eot?#iefix') format('embedded-opentype'),
        url('../fonts/IRR-EC_UltraLight.woff') format('woff'),
        url('../fonts/IRR-EC_UltraLight.woff2') format('woff2'),
        url('../fonts/IRR-EC_UltraLight.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: "EC", Arial, sans-serif;
    background-image: url('../images/کارشناسی خودرو.webp');
    background-color: #fff4c7;
    background-repeat: no-repeat;
    background-size: 50vw 150vh;
    background-position: left;
    margin: 0;
    padding: 0;
    height: 100vh;
    direction: rtl;
    text-align: right;
}
a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}
.preloader {
    background-image: url('img/loading.svg');
    width: 300px;
    height: 300px;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    z-index: 999;
    top: 28%;
    right: 28%;

}

.form-container {
    height: 100vh;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 20px;
}

.form-box {
    width: 58%;
    min-height: 100vh;
    max-height: max-content;
    background: rgba(255, 255, 255, 1);
    padding: 20px;
    border-radius: 8px;
    box-sizing: border-box;
    position: absolute;
    right: 0;
    top: 0
}

/* .form-box .btn-submit {
        position: absolute;
        top: 20px;
        left: 20px;
        width: 250px;
    } */

.form-box h2 {
    margin-bottom: 20px;
}

.form-box hr {
    margin: 20px 0;
    border: 0;
    border-top: 2px solid #eee;
}

.form-group {
    position: relative;
    margin-top: 20px;
}

.show {
    display: block;
}

.hidden {
    display: none;

}

.select2-label {
    position: absolute;
    top: 13px;
    right: 10px;
    z-index: 999;
    width: 90%;
    transition: all 0.3s;
    background: white;
    padding: 0 5px;
    color: gray;
    pointer-events: none;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 13px !important;
    left: 1px !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    width: 100% !important;
}

.select2-container .select2-selection--single {
    height: 50px;
    display: flex;
    align-items: center;
}

.focused-label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    color: #464646;
    width: fit-content !important;
}

.select2-search--dropdown .select2-search__field {
    padding: 0 !important;
    text-align: end;
    width: fit-content;
}

.select2-dropdown {
    top: -40px;
    border: none !important;
    background-color: transparent !important;

}

/* .select2-search--dropdown {
        position: relative !important;
        top: -45px !important;
    } */

.select2-search__field {
    border: none !important;
}

.select2-search__field:focus-visible {
    outline: none !important;
}

.select2-results__options {
    /* position: relative !important;
        top: -40px !important; */
    background-color: white;
    direction: rtl;
}

.select2-results__options {
    /* padding: 5px !important; */
    border: solid 1px #aaa !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-radius: 4px
}

/* .select2-results {
        z-index: 9999;
    } */

/* .select2-selection__arrow {
        z-index: 999;
    } */

    #panel{
        min-height: 0px;
        max-height: 350px;
        overflow-y: scroll;
    }
  .rounded-card {
            border-radius: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            transition: transform 0.3s ease;
            background: white;
            margin-bottom: 20px;
        }
        
        .rounded-card:hover {
            transform: translateY(-5px);
        }
        
        .card-header {
            background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
            color: white;
            padding: 5px;
            text-align: center;
            font-size:1rem;
            font-weight: bold;
        }
        
        .card-body {
            padding: 10px;
        }
        
        .price {
            font-size: 1rem;
            font-weight: bold;
            color: #ffffff;
        }
        
        .feature-list {
            list-style: none;
            padding: 0;
            margin-top: 0px;
        }
        
        .feature-list li {
            padding: 5px 0;
            border-bottom: 1px solid #eee;
            display: flex;
            align-items: center;
        }
        
        .feature-list li:last-child {
            border-bottom: none;
        }
        
        .feature-list i {
            color: #28a745;
            margin-left: 10px;
            font-size: 1.2rem;
        }
        
        .btn-custom {
            background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
            border: none;
            color: white;
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: bold;
            margin-top: 20px;
            width: 100%;
            transition: all 0.3s ease;
        }
        
        .btn-custom:hover {
            transform: scale(1.05);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }
        
        .popular-badge {
            position: absolute;
            top: -10px;
            left: 50%;
            transform: translateX(-50%);
            background: #ffc107;
            color: #212529;
            padding: 5px 15px;
            border-radius: 20px;
            font-weight: bold;
            font-size: 0.8rem;
        }
        
        .card-container {
            position: relative;
        }




@media (max-width: 768px) {
    .form-box {
        width: 100%;
        height: 100vh;
        padding: 20px;
    }

    .pattern-bg {
        display: none;
    }
}