/* =========================
   RESET
========================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    direction:rtl;
}

body{
    min-height:100vh;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    font-family:"IRANSans",sans-serif;

    background:
    radial-gradient(circle at top right,#dfe7ff 0%,transparent 30%),
    radial-gradient(circle at bottom left,#d7fff0 0%,transparent 30%),
    #f7f9fc;

    color:#111827;

    padding:20px;
}

/* =========================
   LOGO
========================= */
.logo{
    width:100%;
    max-width:240px;
    margin-bottom:35px;

    transition:.3s;
}

.logo:hover{
    transform:scale(1.03);
}

/* =========================
   WRAPPER
========================= */
.div{
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
}

/* =========================
   SEARCH BOX
========================= */
.searchbox{
    width:100%;
    max-width:650px;

    display:flex;
    align-items:center;

    background:rgba(255,255,255,.75);

    backdrop-filter:blur(14px);

    border:1px solid rgba(255,255,255,.6);

    border-radius:22px;

    padding:10px 14px;

    box-shadow:
    0 10px 35px rgba(0,0,0,.08);

    transition:.3s;
}

.searchbox:focus-within{
    transform:translateY(-2px);

    box-shadow:
    0 14px 40px rgba(58,196,121,.18);

    border-color:#3AC479;
}

/* INPUT */
.searchbox input{
    flex:1;

    border:none;
    outline:none;
    background:transparent;

    font-size:16px;
    color:#111827;

    padding:12px;
}

.searchbox input::placeholder{
    color:#9ca3af;
}

/* BUTTON */
.searchbox button{
    width:50px;
    height:50px;

    border:none;
    border-radius:16px;

    background:#3AC479;

    display:flex;
    align-items:center;
    justify-content:center;

    cursor:pointer;

    transition:.25s;
}

.searchbox button:hover{
    transform:scale(1.05);
    background:#31ad69;
}

.searchbox button:active{
    transform:scale(.96);
}

.searchbox button svg path{
    fill:white;
}

/* =========================
   AUTOCOMPLETE
========================= */
.autocomplete{
    width:100%;
    max-width:650px;

    margin-top:12px;

    background:rgba(255,255,255,.82);

    backdrop-filter:blur(14px);

    border-radius:18px;

    overflow:hidden;

    box-shadow:
    0 10px 30px rgba(0,0,0,.06);
}

.autocomplete div{
    padding:14px 18px;

    cursor:pointer;

    transition:.2s;

    border-bottom:1px solid #f3f4f6;
}

.autocomplete div:last-child{
    border-bottom:none;
}

.autocomplete div:hover{
    background:#f3fff8;
    color:#3AC479;
}

/* =========================
   ADMIN BUTTON
========================= */
.but{
    margin-top:28px;

    text-decoration:none;

    padding:14px 22px;

    border-radius:16px;

    background:white;

    color:#111827;

    font-size:14px;
    font-weight:500;

    border:1px solid #e5e7eb;

    transition:.25s;

    box-shadow:
    0 4px 15px rgba(0,0,0,.05);
}

.but:hover{
    transform:translateY(-2px);

    background:#111827;
    color:white;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:768px){

    body{
        justify-content:flex-start;
        padding-top:120px;
    }

    .logo{
        max-width:180px;
    }

    .searchbox{
        border-radius:18px;
        padding:8px;
    }

    .searchbox input{
        font-size:15px;
    }

    .searchbox button{
        width:45px;
        height:45px;
    }

}

@media(max-width:480px){

    .searchbox{
        max-width:100%;
    }

    .autocomplete{
        max-width:100%;
    }

    .but{
        width:100%;
        text-align:center;
    }

}