:root{
    --bg-dark:#020617;
    --card:#0f172a;
    --primary:#2563eb;
    --accent:#22c55e;
    --text:#e5e7eb;
    --muted:#9ca3af;
}

body{
    margin:0;
    font-family:Inter,Segoe UI,Roboto,Arial,sans-serif;
    background:radial-gradient(circle at top,#1e293b,#020617);
    color:var(--text);
}

.page{
    max-width:640px;
    margin:auto;
    padding:16px;
}

h1{
    font-size:26px;
    margin:16px 0 20px;
}

.back{
    color:#93c5fd;
    text-decoration:none;
    font-weight:600;
}

.card{
    background:var(--card);
    border-radius:18px;
    padding:20px;
    margin-bottom:18px;
}

.card h2{
    margin:0 0 14px;
    font-size:18px;
}

/* PHOTO */
.photo-zone{
    border:2px dashed #334155;
    border-radius:16px;
    padding:30px 20px;
    text-align:center;
}

.photo-zone label{
    display:inline-block;
    background:linear-gradient(135deg,#2563eb,#1e40af);
    color:white;
    padding:16px 26px;
    font-size:17px;
    font-weight:800;
    border-radius:14px;
}

.photo-zone input{display:none}

/* INPUTS */
select,input,textarea{
    width:100%;
    background:#020617;
    border:1px solid #334155;
    color:white;
    padding:14px;
    border-radius:12px;
    font-size:15px;
}

label{
    font-weight:600;
    margin-top:14px;
    display:block;
}

textarea{min-height:90px}

#map{
    height:220px;
    border-radius:14px;
    margin-top:12px;
}

.refresh-position-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:100%;
    margin-top:12px;
    background:#1e293b;
    color:#dbeafe;
    border:1px solid #334155;
    padding:12px 14px;
    border-radius:12px;
    font-weight:800;
    cursor:pointer;
}

.refresh-position-btn:disabled{
    opacity:.65;
    cursor:wait;
}

.position-status{
    min-height:20px;
    margin:8px 0 0;
    color:#86efac;
    font-size:14px;
    font-weight:600;
}

/* SUBMIT */
.submit{
    position:sticky;
    bottom:12px;
    background:linear-gradient(135deg,#22c55e,#16a34a);
    color:white;
    border:none;
    width:100%;
    padding:18px;
    font-size:20px;
    font-weight:900;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(34,197,94,.5);
    margin-top:10px;
}

.photo-block{
    margin-bottom:18px;
}

.photo-title{
    font-weight:700;
    margin-bottom:10px;
}

.photo-btn{
    display:inline-block;
    background:linear-gradient(135deg,#2563eb,#1e40af);
    color:white;
    padding:14px 22px;
    border-radius:14px;
    font-weight:800;
    cursor:pointer;
}

.photo-btn input{ display:none }

.photo-preview{
    display:none;
    margin-top:14px;
    width:100%;
    max-height:220px;
    object-fit:cover;
    border-radius:14px;
    border:1px solid #334155;
}

.photo-help{
    color:var(--muted);
    margin-top:10px;
    font-size:14px;
}

.selected-photo-list{
    display:grid;
    gap:12px;
    margin-top:14px;
}

.selected-photo-item{
    position:relative;
    overflow:hidden;
    border:1px solid #334155;
    border-radius:14px;
    background:#020617;
}

.selected-photo-item img{
    display:block;
    width:100%;
    max-height:220px;
    object-fit:cover;
}

.selected-photo-remove{
    position:absolute;
    right:10px;
    bottom:10px;
    border:0;
    border-radius:10px;
    background:#dc2626;
    color:white;
    padding:10px 14px;
    font-weight:800;
    cursor:pointer;
    box-shadow:0 6px 18px rgba(0,0,0,.35);
}
/* Static presentation extracted from the Blade view. */
div.public-signalement-second-photo { margin-top:15px; }
label.public-signalement-type-label { margin-top:16px; }
div.public-signalement-errors { background:#7f1d1d;color:white; }
