/* ===========================
   ORDER PAGE
=========================== */

.order-page *{
    box-sizing:border-box;
}

.order-page{
    min-height:100vh;
    background:#00bfa6;
    padding:20px;
    font-family:tahoma;
}

/* ===========================
   MAIN CONTAINER
=========================== */

.order-page .bg{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
}

.order-page .card{
    width:100%;
    max-width:800px;
    background:#ffffff;
    border-radius:24px;
    padding:30px;
    box-shadow:0 15px 40px rgba(0,0,0,.12);
}

/* ===========================
   HEADER
=========================== */

.order-page .order-header{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:25px;
}

.order-page .logo-box img{
    width:90px;
    height:auto;
    object-fit:contain;
}

.order-page .order-header h2{
    margin:0;
    color:#111827;
    font-size:24px;
}

.order-page .order-header p{
    margin-top:5px;
    color:#6b7280;
    font-size:14px;
}

/* ===========================
   FORM
=========================== */

.order-page form{
    width:100%;
}

.order-page .field{
    margin-bottom:18px;
}

.order-page label{
    display:block;
    margin-bottom:8px;
    font-weight:700;
    color:#111827;
}

/* ===========================
   INPUTS
=========================== */

.order-page input,
.order-page select,
.order-page textarea{
    width:100%;
    padding:14px;
    border:2px solid #d1d5db;
    border-radius:12px;
    font-size:15px;
    background:#fff;
    transition:.25s;
}

.order-page input:hover,
.order-page select:hover,
.order-page textarea:hover{
    border-color:#00bfa6;
}

.order-page input:focus,
.order-page select:focus,
.order-page textarea:focus{
    outline:none;
    border-color:#00bfa6;
    box-shadow:0 0 0 4px rgba(0,191,166,.15);
}

.order-page textarea{
    min-height:120px;
    resize:vertical;
}

/* ===========================
   BUTTON
=========================== */

.order-page button{
    width:100%;
    padding:15px;
    border:none;
    border-radius:12px;
    background:#00bfa6;
    color:white;
    font-size:17px;
    font-weight:700;
    cursor:pointer;
    transition:.25s;
}

.order-page button:hover{
    background:#009f8a;
}

.order-page button:disabled{
    opacity:.7;
    cursor:not-allowed;
}

/* ===========================
   EXTRA SECTION
=========================== */

.order-page .extra{
    display:none;
}

/* ===========================
   IMAGE PREVIEW
=========================== */

.order-page #preview{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:12px;
}

.order-page .preview-item{
    position:relative;
    width:90px;
    height:90px;
}

.order-page .preview-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:12px;
    border:2px solid #00bfa6;
}

.order-page .remove-btn{
    position:absolute;
    top:-8px;
    right:-8px;
    width:24px;
    height:24px;
    border:none;
    border-radius:50%;
    background:red;
    color:white;
    font-size:14px;
    cursor:pointer;
    padding:0;
}

/* ===========================
   MOBILE
=========================== */

@media(max-width:768px){

    .order-page{
        padding:10px;
    }

    .order-page .card{
        padding:20px;
        border-radius:18px;
    }

    .order-page .order-header{
        flex-direction:column;
        text-align:center;
    }

    .order-page .logo-box img{
        width:75px;
    }

    .order-page .order-header h2{
        font-size:20px;
    }

    .order-page input,
    .order-page select,
    .order-page textarea{
        font-size:16px;
    }
}

.search-select{
    position:relative;
    margin-bottom:15px;
}

.search-select input{
    width:100%;
    padding:12px;
    border-radius:12px;
    border:1px solid #ddd;
    font-size:15px;
}

.dropdown{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:#fff;
    border:1px solid #eee;
    border-radius:12px;
    max-height:200px;
    overflow:auto;
    z-index:999;
}

.dropdown div{
    padding:10px;
    cursor:pointer;
}

.dropdown div:hover{
    background:#00bfa6;
    color:#fff;
}

.hidden{
    display:none;
}

.search-select input{
    width:100%;
    padding:12px 14px;
    border-radius:12px;
    border:1px solid #00bfa6;
    background:#ffffff;
    color:#111;
    font-size:15px;
    outline:none;
}

/* وقتی تایپ می‌کنی */
.search-select input:focus{
    border-color:#009688;
    box-shadow:0 0 8px rgba(0,191,166,0.3);
}

/* dropdown */
.dropdown{
    background:#fff;
    border:1px solid #ddd;
    border-radius:12px;
    color:#111;
}

.dropdown div{
    color:#111;
}

.dropdown div:hover{
    background:#00bfa6;
    color:#fff;
}
.step h3{
    color:#00bfa6;
    font-size:20px;
    margin-bottom:15px;
    font-weight:800;
}

.field label{
    color:#111827;
    font-weight:700;
    font-size:15px;
    letter-spacing:-0.2px;
}

.field input,
.field select,
.field textarea{
    color:#111;
}

.card{
    text-align:center;
}

/* لوگو وسط و بزرگ */
.logo-box{
    display:flex;
    justify-content:center;
    margin-bottom:15px;
}

.logo-box img{
    width:220px;   /* بزرگ‌تر شد */
    height:auto;
}

/* متن زیر لوگو */
.header-text h2{
    margin:0;
    font-size:22px;
    color:#00bfa6;
    font-weight:800;
}

.header-text p{
    margin-top:8px;
    font-size:14px;
    color:#444;
}

body{
    margin:0;
    font-family:tahoma;
    background:#00bfa6;
}

/* 💎 مهم‌ترین بخش: وسط کردن کل فرم */
.bg{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:20px;
}

/* کارت اصلی */
.card{
    width:100%;
    max-width:700px;
    background:#fff;
    border-radius:20px;
    padding:25px;
    box-shadow:0 10px 30px rgba(0,0,0,0.15);
}

/* لوگو بزرگ‌تر و وسط */
.logo-box{
    display:flex;
    justify-content:center;
    margin-bottom:10px;
}

.logo-box img{
    width:280px;   /* 👈 بزرگ‌تر شد */
    height:auto;
}

/* تیتر */
.header-text{
    text-align:center;
    margin-bottom:20px;
}

.header-text h2{
    margin:0;
    font-size:22px;
    font-weight:800;
    color:#00bfa6;
}

.header-text p{
    margin-top:6px;
    color:#444;
    font-size:14px;
}
.bg{
    min-height:100vh !important;
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    padding:20px;
}

.card{
    width:100%;
    max-width:700px;
    background:#fff;
    border-radius:20px;
    padding:25px;
    box-shadow:0 10px 30px rgba(0,0,0,0.15);
    margin:auto;
}

/* لوگو */
.logo-box{
    display:flex;
    justify-content:center;
    margin-bottom:15px;
}

.logo-box img{
    width:320px;   /* 👈 بزرگ‌تر واقعی */
    max-width:90%;
    height:auto;
}

/* متن */
.header-text{
    text-align:center;
    margin-bottom:20px;
}

.header-text h2{
    color:#00bfa6;
    font-size:24px;
    font-weight:900;
}

.header-text p{
    color:#444;
    font-size:14px;
}
.field label{
    text-align:right;
    direction:rtl;
    display:block;
    font-size:14px;
    font-weight:700;
    color:#1f2937;
    margin-bottom:6px;
}
.required{
    color:#ef4444;
    font-weight:700;
    margin-right:2px;
}
/* ===== LOGO HEADER ===== */

.order-header{
    display:flex;
    justify-content:center;
    align-items:center;
    margin-bottom:15px;
}

/* باکس لوگو */
.brand-logo{
    display:flex;
    justify-content:center;
    width:100%;
}

/* خود لوگو */
.logo-word{
    font-size:38px;        /* 👈 بزرگ‌تر */
    font-weight:900;
    color:#00bfa6;
    letter-spacing:2px;    /* 👈 کشیده‌تر */
    transform: scaleX(1.2); /* 👈 عریض‌تر شدن واقعی */
    display:inline-block;
    text-shadow:0 2px 6px rgba(0,0,0,0.15);
}

/* ===== HEADER WRAPPER ===== */

.order-header{
    text-align:center;
    margin-bottom:20px;
    animation: fadeDown 0.6s ease-in-out;
}

/* ===== LOGO BOX ===== */

.logo-container{
    display:flex;
    justify-content:center;
    margin-bottom:10px;
}

/* ===== LOGO IMAGE ===== */

.logo-img{
    width:220px;        /* 👈 بزرگ‌تر */
    max-width:80%;
    height:auto;
    animation: logoPop 0.8s ease-out;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15));
}

/* ===== TITLE ===== */

.order-header h2{
    margin:0;
    font-size:22px;
    font-weight:900;
    color:#00bfa6;
}

.order-header p{
    margin-top:6px;
    font-size:13px;
    color:#555;
}

/* ===== ANIMATION ===== */

@keyframes fadeDown{
    from{
        opacity:0;
        transform:translateY(-15px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

@keyframes logoPop{
    0%{
        opacity:0;
        transform:scale(0.6);
    }
    100%{
        opacity:1;
        transform:scale(1);
    }
}