/* ==========================================================
   USER ENQUIRY PAGE
========================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

/* ================= BODY ================= */

body{
    background:url("/static/images/background_login.jpeg") no-repeat center center fixed;
    background-size:cover;
    min-height:100vh;
}

body::before{
    content:"";
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    z-index:-1;
}

/* ================= NAVBAR ================= */

nav{
    position:fixed;
    top:20px;
    left:50%;
    transform:translateX(-50%);
    width:95%;
    max-width:1450px;
    height:75px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:0 35px;

    background:rgba(255,255,255,.12);
    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.2);
    border-radius:18px;

    box-shadow:0 12px 25px rgba(0,0,0,.30);

    z-index:1000;
}

.logo{
    display:flex;
    align-items:center;
    gap:10px;
}

.logo img{
    width:55px;
}

.logo h2{
    color:#fff;
    font-size:28px;
    font-weight:600;
}

nav ul{
    display:flex;
    list-style:none;
    gap:30px;
}

nav ul li a{
    color:#fff;
    text-decoration:none;
    font-weight:500;
    transition:.3s;
}

nav ul li a:hover{
    color:#60a5fa;
}

.menu-toggle{
    display:none;
    color:#fff;
    font-size:30px;
    cursor:pointer;
}

/* ================= CONTAINER ================= */

.container{

    width:100%;

    max-width:900px;

    margin:120px auto 40px;

    padding:20px;

}

/* ================= FORM ================= */

.form-box{

    background:rgba(255,255,255,.12);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.2);

    border-radius:20px;

    padding:40px;

    color:#fff;

    box-shadow:0 15px 35px rgba(0,0,0,.30);

    animation:fadeUp .8s;

}

.form-box h2{

    text-align:center;

    font-size:34px;

    margin-bottom:10px;

}

.form-box p{

    text-align:center;

    margin-bottom:30px;

    color:#e5e5e5;

}

/* ================= ALERT ================= */

.alert{

    padding:14px;

    border-radius:8px;

    margin-bottom:20px;

    text-align:center;

    font-weight:500;

}

.success{

    background:#16a34a;

    color:#fff;

}

.error{

    background:#dc2626;

    color:#fff;

}

/* ================= ROW ================= */

.row{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:20px;

}

/* ================= INPUT ================= */

.input-box{

    margin-bottom:20px;

}

.input-box label{

    display:block;

    margin-bottom:8px;

    font-weight:500;

}

.input-box input,
.input-box textarea,
.input-box select{

    width:100%;

    padding:14px;

    border:none;

    outline:none;

    border-radius:10px;

    background:rgba(255,255,255,.15);

    color:#fff;

    border:1px solid rgba(255,255,255,.15);

    transition:.3s;

    font-size:15px;

}

.input-box input:focus,
.input-box textarea:focus,
.input-box select:focus{

    border-color:#60a5fa;

    box-shadow:0 0 12px rgba(96,165,250,.35);

}

.input-box input::placeholder,
.input-box textarea::placeholder{

    color:#d1d5db;

}

/* Dropdown */

.input-box select{

    appearance:none;

    cursor:pointer;

}

.input-box option{

    color:#000;

}

/* Textarea */

textarea{

    resize:vertical;

    min-height:120px;

}

/* ================= BUTTON ================= */

.btn{

    width:100%;

    padding:16px;

    border:none;

    border-radius:10px;

    background:#2563eb;

    color:#fff;

    font-size:17px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

    box-shadow:0 10px 20px rgba(37,99,235,.35);

}

.btn:hover{

    background:#1d4ed8;

    transform:translateY(-3px);

}

/* ================= ANIMATION ================= */

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(30px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

/* ================= TABLET ================= */

@media(max-width:992px){

    nav{

        padding:0 20px;

    }

    nav ul{

        gap:18px;

    }

}

/* ================= MOBILE ================= */

@media(max-width:768px){

    nav{

        width:100%;

        left:0;

        top:0;

        transform:none;

        border-radius:0;

        height:auto;

        padding:15px 20px;

        flex-wrap:wrap;

    }

    .logo{

        flex:1;

    }

    .menu-toggle{

        display:block;

    }

    nav ul{

        display:none;

        flex-direction:column;

        width:100%;

        margin-top:15px;

        gap:0;

    }

    nav ul.show{

        display:flex;

    }

    nav ul li a{

        display:block;

        padding:15px;

        border-top:1px solid rgba(255,255,255,.15);

    }

    .container{

        margin-top:110px;

        padding:15px;

    }

    .form-box{

        padding:25px;

    }

    .row{

        grid-template-columns:1fr;

        gap:0;

    }

    .form-box h2{

        font-size:28px;

    }

}

/* ================= SMALL MOBILE ================= */

@media(max-width:480px){

    .logo img{

        width:42px;

    }

    .logo h2{

        font-size:20px;

    }

    .form-box{

        padding:20px;

    }

    .form-box h2{

        font-size:24px;

    }

    .btn{

        font-size:16px;

        padding:14px;

    }

}

/* Address & Message textareas */
.input-box textarea {
    min-height: 120px;
    resize: vertical;
}

/* Improve select appearance */
.input-box select {
    cursor: pointer;
    appearance: none;
}

/* Form animation */
.form-box {
    animation: fadeUp .8s ease;
}

/* Full-width button spacing */
.btn {
    margin-top: 10px;
}

.field-error{
    color:#ff4d4d;
    font-size:13px;
    font-weight:600;
    margin-top:6px;
    display:block;
}