* {
    font-family: Vazirmatn;
}

body {
    margin: 0;
    height: 100vh;
    overflow: hidden;
}

#map {
    height: calc(100vh - 56px);
    width: 100%;
}

.form-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    cursor: pointer;
}

.form-title {
    font-size: 1.1rem;
    font-weight: bold;
}

.arrow-icon {
    transition: transform 0.3s;
}

.form-container.closed .arrow-icon {
    transform: rotate(180deg);
}

.form-container.closed {
    transform: translateY(calc(100% - 50px));
}

.form-container form {
    padding: 20px;
}

.locate-btn {
    position: fixed;
    bottom: 70px;
    right: 20px;
    background: white;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
}

.locate-btn:hover {
    background: #f0f0f0;
}

@media (min-width: 577px) {
    .form-container {
        width: 400px;
        left: 20px;
        bottom: 20px;
        border-radius: 10px;
        transform: none !important;
    }

    .form-header {
        display: none;
    }

    .form-container form {
        padding: 20px;
    }

    .locate-btn {
        bottom: 20px;
    }
}

@media (max-width: 576px) {
    .form-container {
        transform: translateY(calc(100% - 50px));
        /* Closed by default */
    }

    .form-container:not(.closed) {
        transform: translateY(0);
        /* Open state */
    }

    /* Fixed navbar in mobile */
    .navbar {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1100;
        /* Higher than form-container and locate-btn */
    }

    #map {
        margin-top: 56px;
        /* Equal to navbar height */
        height: calc(100vh - 56px);
        /* Adjust map height */
    }
}

/* Blinking blue dot for user location */
.blinking-dot {
    width: 16px;
    height: 16px;
    background: #007bff;
    border-radius: 50%;
    border: 2px solid #ffffff;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.account-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.report-card {
    border: 1px solid #dee2e6;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.report-card .status {
    font-weight: bold;
}

.report-card .cancel-btn {
    background-color: #dc3545;
    border: none;
}

.report-card .cancel-btn:disabled {
    background-color: #6c757d;
}