@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');
*{
    margin: 0;
    padding: 0;
    font-family: 'poppins',sans-serif;
}




@media (max-width: 480px) {
    section {
        padding: 20px;
        background-position: center;
    }

    .form-box {
        width: 90%;
        height: auto;
        padding: 20px;
        border-radius: 15px;
    }

    h2 {
        font-size: 1.6em;
    }

    .inputbox {
        width: 100%;
        margin: 25px 0;
    }

    .inputbox input {
        height: 45px;
        font-size: 0.95em;
    }

    .inputbox ion-icon {
        font-size: 1.1em;
        top: 17px;
    }

    button {
        height: 38px;
        font-size: 0.9em;
    }

    .forget {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .register {
        font-size: 0.85em;
    }

    .messageDiv {
        font-size: 0.9em;
        padding: 8px 15px;
        margin: 10px auto;
    }
}






body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #dff4ff;
}

.page-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #dff4ff, #e9faff);
    z-index: -1;
}

/* ============================
   CONTAINER & CARD
============================ */
.container {
    display: flex;
    justify-content: center;
    padding: 40px;
}

.card {
    background: white;
    width: 90%;
    max-width: 600px;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid #f0c5b4;
}

h2 {
    text-align: center;
    margin-bottom: 5px;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 25px;
}

/* ============================
   FORM ELEMENTS
============================ */
form label {
    font-weight: 600;
    margin-top: 15px;
    display: block;
}

select, textarea, input[type="text"] {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #d9e6ef;
    background: #f5fcff;
    font-size: 15px;
    margin-top: 5px;
}

textarea {
    height: 120px;
    resize: none;
}

/* ============================
   PHOTO INPUT FIELD
============================ */
.photo-input {
    position: relative;
}

.camera-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 22px;
    color: #0078ff;
    transition: 0.2s;
}

.camera-icon:hover {
    transform: translateY(-50%) scale(1.15);
}

.hint {
    font-size: 12px;
    color: #777;
    margin-top: 4px;
}

/* ============================
   CAMERA STREAM / CAPTURE
============================ */
#cameraStream {
    width: 100%;
    border-radius: 12px;
    margin-top: 15px;
    display: none;
    border: 2px solid #c8e7ff;
}

#captureBtn {
    display: none;
    width: 100%;
    margin-top: 12px;
    padding: 12px;
    background: #00aaff;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s;
}

#captureBtn:hover {
    background: #0088d4;
}

#photoCanvas {
    display: none;
    width: 100%;
    margin-top: 12px;
    border-radius: 12px;
    border: 2px solid #c8e7ff;
}

/* ============================
   AUDIO RECORDING UI
============================ */
.audio-record {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.audio-record button {
    flex: 1;
    padding: 12px;
    background: #ffb03a;
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s;
}

.audio-record button:hover {
    background: #e69010;
}

#audioPlayback {
    width: 100%;
    margin-top: 10px;
    border-radius: 12px;
}

/* ============================
   LOCATION BOX
============================ */
.location-box {
    background: #f7f5d4;
    padding: 15px;
    margin-top: 20px;
    border-radius: 12px;
    border-left: 4px solid #e2cd57;
    display: flex;
    align-items: center;
    gap: 10px;
}

.loc-icon {
    font-size: 18px;
}

/* ============================
   SUBMIT BUTTON
============================ */
button[type="submit"] {
    width: 100%;
    margin-top: 25px;
    padding: 14px;
    background: #0078ff;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
}

button[type="submit"]:hover {
    background: #005fcc;
}
