﻿
body {
    background: #f5f8fd;
}

.register-page {
    max-width: 780px;
    margin: 25px auto;
    padding: 10px;
}


.register-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 45px rgba(0,0,0,.08);
}

.register-icon {
    width: 80px;
    height: 80px;
    margin: auto;
    border-radius: 50%;
    background: #eef5ff;
    color: #2979ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
}

.register-card h2 {
    text-align: center;
    margin-top: 12px;
    font-size: 32px;
    font-weight: bold;
    color: #24324a;
}

.register-card p {
    text-align: center;
    color: #777;
    margin-bottom: 22px;
    font-size: 16px;
}

.form-group {
    
    margin-bottom: 18px;
}
.form-group-prima {
    margin-bottom: 18px;
}



    .form-group-prima label {
        display: block;
        font-size: 16px;
        margin-bottom: 8px;
        font-weight: 700;
    }
.form-group label {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 700;
}

.required {
    color: #e53935;
}
.select-wrapper {
    position: relative;
}

.custom-select {
    width: 100%;
    height: 52px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
    font-size: 16px;
    padding: 0 50px 0 45px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: .3s;
}

    .custom-select:focus {
        border-color: #1a73e8;
        box-shadow: 0 0 0 4px rgba(26,115,232,.12);
        outline: none;
    }

.select-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    font-size: 17px;
    pointer-events: none;
}

.select-arrow {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 15px;
    pointer-events: none;
}

.input-box {
    display: flex;
    align-items: center;
    border: 1px solid #d9e2ef;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    
}
    .input-box input,textarea,select {
        outline: none;
        box-shadow: none;
        border: 1px solid #ccc;
    }



.icon {
    width: 55px;
    text-align: center;
    font-size: 18px;
    color: #5f6b7a;
    background: #f7f9fd;
    padding: 14px 0;
}

.star {
    color: #ff9800;
}

.form-item {
    border: none !important;
    box-shadow: none !important;
    height: 48px;
    font-size: 15px;
    width: 95%;
}

.textarea {
    align-items: flex-start;
}

    .textarea .icon {
        padding-top: 14px;
        height: 100%;
    }

textarea.form-item {
    height: 100px;
    resize: none;
    padding-top: 12px;
}

.info-box1 {
    background: #eef5ff;
    border-radius: 12px;
    padding: 14px 18px;
    margin: 20px 0;
    overflow: hidden;
}

    .info-box1 i {
        float: right;
        font-size: 20px;
        color: #3366cc;
        margin-left: 12px;
        margin-top: 2px;
    }

    .info-box1 span {
        display: block;
        overflow: hidden;
        line-height: 24px;
        font-size: 14px;
        color: #3366cc;
    }

.btn-submit {
    width: 100%;
    margin-top: 20px;
    height: 52px;
    border: none;
    border-radius: 12px;
    background: #19a84a;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    transition: .3s;
}



.btn-submit:hover {
    background: #12853a;
}

    .btn-submit i {
        margin-right: 12px;
    }

.btn-a1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 20px;
    height: 52px;
    border: none;
    border-radius: 12px;
    background: #fc0a0a;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    transition: .3s;
}

btn-a1 i {
    margin-right: 12px;
}
.btn-a1:hover {
    background: #12853a;
    color:#fff;
}

.text-danger {
    color: #000;
    font-size: 13px;
    margin-top: 5px;
    display: block;
    width: 50%;
}

.price-box {
    margin: 18px 0;
    background: #eef8ef;
    border: 1px solid #b8e6c4;
    border-radius: 12px;
    padding: 14px 16px;
}

.price-title {
    display: block;
    color: #666;
    font-size: 14px;
    margin-bottom: 6px;
}

.price-value {
    color: #1b8f3c;
    font-size: 24px;
    font-weight: bold;
}

    .price-value i {
        margin-left: 8px;
    }

@media(max-width:768px) {

    .register-page {
        margin: 15px auto;
        padding: 8px;
    }

    .register-card {
        padding: 22px;
    }

    .register-icon {
        width: 65px;
        height: 65px;
        font-size: 28px;
    }

    .register-card h2 {
        font-size: 26px;
    }

    .register-card p {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .form-group label {
        font-size: 15px;
    }
    .form-group-prima label {
        font-size: 15px;
    }
    

    .form-item {
        height: 45px;
    }

    textarea.form-item {
        height: 85px;
    }

    .btn-submit {
        height: 48px;
        font-size: 17px;
    }

    .text-danger {
        width: 100%;
    }
}




/*fdf
    خطوط زیر برای هدر تعداد خودرو
*/

.page-header{

    background:#fff;

    border-radius:20px;

    padding:5px 5px;

    margin-bottom:25px;

    box-shadow:0 10px 30px rgba(0,0,0,.06);

    border:1px solid #edf0f3;
}

.page-header-content{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

    flex-wrap:wrap;
}

.page-title{

    display:flex;

    align-items:center;

    gap:14px;

    color:#222;

    font-size:18px;

    font-weight:700;
}

    .page-title i {
        width: 52px;
        height: 52px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 14px;
        /*background: linear-gradient(135deg,#18d26e,#0fbf84);*/
        color: #9e6b32;
        font-size: 24px;
        /*box-shadow: 0 8px 18px rgba(24,210,110,.25);*/
    }



@media(max-width:768px){

.page-header{

    padding:5px 5px;
}

.page-header-content{

    flex-direction:column;

    align-items:flex-start;
}

.page-title{

    font-size:12px;
}

.page-title i{

    width:33px;
    height:33px;
    font-size:14px;
}


}

/*fdf
  دکمه ها
*/

.menu-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 22px;
    width: 100%;
    min-height: 75px;
    margin: 6px 0;
    padding: 18px 22px;
    background: #fff;
    border-radius: 22px;
    text-decoration: none;
    overflow: hidden;
    border: 1px solid #ececec;
    box-shadow: 0 8px 25px rgba(0,0,0,.06);
    transition: .35s cubic-bezier(.2,.8,.2,1);
}

    .menu-card::before {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        width: 7px;
        height: 100%;
        background: linear-gradient(180deg,#11c86a,#00b894);
    }

    .menu-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 45px rgba(0,0,0,.12);
    }

.card-icon {
    width: 35px;
    height: 35px;
    border-radius: 18px;
    background: linear-gradient(135deg,#16d46b,#09b97f);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 28px;
    flex-shrink: 0;
    transition: .35s;
    box-shadow: 0 10px 25px rgba(22,212,107,.35);
}

.menu-card:hover .card-icon {
    transform: rotate(-8deg) scale(1.08);
}

.card-content {
    flex: 1;
}

    .card-content h3 {
        margin: 0;
        color: #222;
        font-size: 15px;
        font-weight: 700;
    }

    .card-content p {
        margin-top: 6px;
        color: #888;
        font-size: 15px;
    }

.card-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f4f6f8;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #12c769;
    font-size: 18px;
    transition: .35s;
}

.menu-card:hover .card-arrow {
    background: #12c769;
    color: #fff;
    transform: translateX(-7px);
}

.logout .card-icon {
    background: linear-gradient(135deg,#ff6b6b,#ff4757);
    box-shadow: 0 10px 25px rgba(255,71,87,.35);
}

.logout::before {
    background: linear-gradient(180deg,#ff6b6b,#ff4757);
}

.logout:hover .card-arrow {
    background: #ff4757;
}


/*/ارتفاع قسمت بادی جدول/*/
.tbodyh {
   text-align: center;text-align-last: center;height:80px;
}
table tr{
    height:70px;
}



    table tr td .text-align {
        vertical-align: middle;
    }

table tr td .font-size {
    font-size: 15px;
}

@media(max-width:768px) {
    table tr td {
        font-size: 11px;
    }
}



    @media(max-width:768px) {
        .nomobview {
            display: none;
        }

        .menu-card {
            min-height: 40px;
            padding: 10px 11px;
            gap: 10px;
        }

        .card-icon {
            width: 35px;
            height: 35px;
            font-size: 17px;
        }

        .card-content h3 {
            font-size: 15px;
        }

        .card-content p {
            font-size: 13px;
        }

        .card-arrow {
            width: 30px;
            height: 30px;
        }
    }


/*دکمه های چاپ و غیره که در جدول ها هستن*/
.btn-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 60px;
    height: 33px;
    padding: 0 11px;
    border-radius: 5px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    transition: .25s ease;
    box-shadow: 0 8px 20px rgba(34,197,94,.25);
}


.btn-edit i {
    font-size: 10px;
}

    .btn-edit:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 25px rgba(34,197,94,.35);
        color: #fff;
        text-decoration: none;
    }

    .btn-edit:active {
        transform: scale(.96);
    }



.btn-edit-blue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 60px;
    height: 33px;
    padding: 0 11px;
    border: 0;
    border-radius: 5px;
    background: linear-gradient(135deg,#3b82f6,#0d6efd);
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(13,110,253,.28);
    transition: all .25s ease;
}

    .btn-edit-blue i {
        font-size: 11px;
    }

    .btn-edit-blue:hover {
        color: #fff;
        text-decoration: none;
        transform: translateY(-3px);
        box-shadow: 0 14px 25px rgba(13,110,253,.38);
    }

    .btn-edit-blue:active {
        transform: scale(.96);
    }


.btn-edit-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 60px;
    height: 33px;
    padding: 0 11px;
    border: 0;
    border-radius: 5px;
    background: linear-gradient(135deg,#ffb21d,#ff7a00);
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(255,122,0,.28);
    transition: all .25s ease;
}

    .btn-edit-orange i {
        font-size: 11px;
    }

    .btn-edit-orange:hover {
        color: #fff;
        text-decoration: none;
        transform: translateY(-3px);
        box-shadow: 0 14px 25px rgba(255,122,0,.38);
    }

    .btn-edit-orange:active {
        transform: scale(.96);
    }


    /*دکمه های در قسمت ثبت جدید رنگ و شاسی ها تو یک سطر*/
.button-list-prim {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    align-items: center;
}

    .button-list-prim a,
    .button-list-prim button {
        padding: 2px 4px;
        border-radius: 3px;
        text-decoration: none;
        white-space: nowrap;
    }


/*برای صفحه ادیت و ثبت جدید خودرو برای کارشناسی که در حالت کامپیوتری سه تا و موبایلی یکی*/


.form-grid-primacar {
    display: grid;
    grid-template-columns: repeat(3,minmax(220px,280px));
    justify-content: center;
    gap: 16px;
   
}

.form-group-primacar {
    display: flex;
    flex-direction: column;

}

.form-group-primacar label {
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: 700;
    color: #333;
}

.form-control-primacar {
    width: 100%;
    height: 46px;
    border: 1px solid #dcdfe6;
    border-radius: 10px;
    padding-right: 42px;
    padding-left:12px;
    font-size: 14px;
    background: #fff;
    transition: .3s;
    box-sizing: border-box;
}

    .form-control-primacar:focus {
        outline: none;
        border-color: #1a73e8;
        box-shadow: 0 0 0 4px rgba(26,115,232,.12);
    }

    .form-control-primacar select {
        cursor: pointer;
    }

.input-box-primacar {
    position: relative;
}

.input-icon-primacar {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    font-size: 16px;
    pointer-events: none;
}

.input-box-primacar .form-control-primacar {
    width: 100%;
    height: 52px;
    border: 1px solid #dcdfe6;
    border-radius: 12px;
    padding-right: 48px; /* جا برای آیکون */
    padding-left: 15px;
    background: #fff;
    box-sizing: border-box;
    outline: none;
    box-shadow: none;
}

    .input-box-primacar .form-control-primacar:focus {
        border: 1px solid #dcdfe6;
        outline: none;
        box-shadow: none;
    }






/* موبایل */
@media (max-width: 768px) {

    .select-container {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

        .select-container select {
            width: 100%;
            flex: none;
            height: 48px;
        }
}





.register-wrapper-primacar {
    width: fit-content;
    margin: 0 auto;
    margin-top: 25px;
}

.form-title-primacar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 0.5px solid #9e6b32;
}

    .form-title-primacar i {
        color: #9e6b32;
        font-size: 14px;
    }

    .form-title-primacar span {
        font-size: 14px;
        font-weight: 700;
        color: #333;
    }


/* تبلت */
@media (max-width: 992px) {

    .form-grid-primacar {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* موبایل */


.margin-col2-primacar {
    margin-top: 38px;
}



@media (max-width:768px) {

    .register-wrapper-primacar {
        width: 95%;
    }

    .form-grid-primacar {
        grid-template-columns: 1fr;
        justify-content: stretch;
        gap: 14px;
        width: 95%;
    }

    .form-group-primacar {
        width: 100%;
    }

  
}


/*برای زوم نکنه آیفون وقتی فونت کمتر از 16*/
input,
select,
textarea {
    -webkit-appearance: none;
    appearance: none;
}