body {
    background: url("/assets/media/background/white_bg_city.png") no-repeat center center fixed;
    background-size: 100%, cover;
    background-repeat: no-repeat;
    background-position: bottom, center; 
    height: 100vh;
}

/* Match register behavior: uppercase for report form fields */
#report_form input,
#report_form select,
#report_form textarea {
    text-transform: uppercase;
}

/* Soft card wrapper for upload area */
.cr-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 12px;
    padding: 20px;
}

/* Upload tiles */
.cr-upload-options {
    display: flex;
    align-items: stretch;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.cr-upload-tile {
    flex: 1 1 260px;
    min-width: 240px;
    border: 1px dashed rgba(0,0,0,.15);
    border-radius: 12px;
    padding: 18px 16px;
    text-align: center;
    cursor: pointer;
    transition: all .15s ease-in-out;
    background: #fafbfc;
}

.cr-upload-tile:hover {
    transform: translateY(-1px);
    border-color: rgba(0,0,0,.25);
    background: #f6f8fa;
}

.cr-upload-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 999px;
    background: rgba(0,0,0,.04);
    margin-bottom: 10px;
}

/* Divider "or" */
.cr-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    color: #a1a5b7;
    font-weight: 600;
}

@media (max-width: 768px) {
    .cr-divider { display: none; }
}

/* Camera area */
.cr-camera video {
    width: 100%;
    max-height: 420px;
    border-radius: 12px;
    background: #000;
}

/* Your existing "hidden" class if not global */
.hidden {
    display: none !important;
}


#report_form .image-preview {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

#report_form .image-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e5e7eb;
    background: white;
    aspect-ratio: 1;
}

#report_form .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#guest_contact {
    padding-top: 1.9rem;
    padding-bottom: 0.9rem;
    margin-top: 0.35rem;
}

.phone-group {
    position: relative;
}

.phone-prefix {
    position: absolute;
    left: 1rem;
    top: 55%;
    transform: translateY(-50%);
    margin-top: 4px;
    font-weight: 600;
    color: #a1a5b7;
    pointer-events: none;
    z-index: 2;
}

.phone-input {
    padding-left: 4rem !important;
}

#report_form .form-floating.always-float > label {
    transform: scale(.85) translateY(-0.5rem) translateX(0.15rem) !important;
    opacity: 0.65 !important;
    transition: none !important; 
}

#report_form .form-floating.always-float > .form-control:focus ~ label,
#report_form .form-floating.always-float > .form-control:not(:placeholder-shown) ~ label {
    transform: scale(.85) translateY(-0.5rem) translateX(0.15rem) !important;
}

#refresh-location-btn:disabled,
#refresh-location-btn.disabled {
    cursor: not-allowed;
}



#report_form .delete-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.95);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

#report_form .delete-icon:hover {
    background: #fee2e2;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    #report_form .image-preview {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 16px;
    }
}

/* Keep label floated so placeholder doesn't overlap */
#report_form .form-floating.always-float > label {
    transform: scale(.85) translateY(-0.5rem) translateX(0.15rem);
    opacity: .65;
}

