body{
font-family:Arial;
background:#e6f4ff;
margin:0;
}

header{
background:#003366;
color:white;
padding:20px;
text-align:center;
}

.container{
width:700px;
margin:40px auto;
background:white;
padding:30px;
border-radius:10px;
box-shadow:0 4px 10px rgba(0,0,0,0.1);
}

h1,h2{
color:#003366;
}

input,select{
width:100%;
padding:10px;
margin:8px 0;
border:1px solid #ccc;
border-radius:5px;
}

button{
background:#007BFF;
color:white;
border:none;
padding:10px 20px;
border-radius:5px;
cursor:pointer;
}

button:hover{
background:#0056b3;
}

.actions{
margin-top:20px;
}

.label{
font-weight:bold;
color:#003366;
}

.back{
margin-top:20px;
display:inline-block;
}
.foto-sectie{
margin-top:30px;
}

.foto-grid{
display:grid;
grid-template-columns:repeat(auto-fill,150px);
gap:15px;
margin-top:15px;
}

.deur-foto{
width:150px;
height:150px;
object-fit:cover;
border-radius:6px;
border:1px solid #ccc;
}

.foto-melding{
background:#f1f7ff;
border:1px solid #c7dbff;
padding:15px;
border-radius:6px;
margin-top:10px;
}

.foto-melding ul{
margin-top:10px;
}
input[type=file]{
margin-top:10px;
}

button{
background:#007BFF;
color:white;
border:none;
padding:10px 20px;
border-radius:5px;
cursor:pointer;
}

button:hover{
background:#0056b3;
}
.foto-grid{
display:flex;
flex-wrap:wrap;
gap:15px;
margin-top:20px;
}

.foto-item{
text-align:center;
}

.deur-foto{
width:150px;
height:150px;
object-fit:cover;
border-radius:6px;
border:1px solid #ccc;
}

.delete-btn{
background:#cc0000;
margin-top:5px;
}

.delete-btn:hover{
background:#990000;
}
.foto-overlay{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.85);
display:none;
justify-content:center;
align-items:center;
z-index:9999;
}

.grote-foto{
max-width:90%;
max-height:90%;
border-radius:6px;
}
.popup{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.7);
display:none;
justify-content:center;
align-items:center;
z-index:9999;
}

.popup-content{
background:white;
padding:20px;
border-radius:10px;
width:700px;          /* 👈 breder */
max-width:90%;
max-height:80vh;
overflow-y:auto;
box-shadow:0 10px 30px rgba(0,0,0,0.3);
}

.onderdeel{
display:grid;
grid-template-columns: 30px 1fr 100px 80px;
align-items:center;
gap:10px;
padding:10px;
border-bottom:1px solid #eee;
}

.onderdeel:hover{
background:#f5f9ff;
}

.onderdeel input[type="number"]{
width:60px;
padding:5px;
}

.prijs{
text-align:right;
font-weight:bold;
color:#003366;
}

.sub{
font-size:12px;
color:#666;
}

select{
width:100%;
padding:8px;
border-radius:6px;
border:1px solid #ccc;
}

.popup-content h3{
margin-top:0;
color:#003366;
}
.deur-blok{
border-bottom:1px solid #ddd;
padding:5px 0;
}

.deur-header{
display:flex;
justify-content:space-between;
padding:10px 5px;
cursor:pointer;
font-weight:500;
}

.deur-header:hover{
background:#f5f5f5;
}

.deur-content{
padding:10px 5px;
}

.regel{
display:grid;
grid-template-columns: 1fr 120px 120px 30px;
align-items:center;
padding:6px 0;
border-bottom:1px solid #eee;
font-size:14px;
}

.leeg{
color:#888;
font-style:italic;
padding:5px 0;
}

.actie-balk{
margin-top:10px;
}

.icon-add{
cursor:pointer;
color:#007BFF;
font-size:14px;
}

.icon-delete{
cursor:pointer;
color:#999;
text-align:right;
}

.icon-delete:hover{
color:red;
}

.toggle{
color:#666;
font-size:14px;
}
.deur-titel{
display:flex;
flex-direction:column;
}

.deur-sub{
font-size:12px;
color:#666;
margin-top:2px;
}
.installatie{
display:grid;
grid-template-columns: 30px 80px 1fr 150px;
align-items:center;
gap:10px;
padding:10px;
border-bottom:1px solid #eee;
cursor:pointer;
}

.installatie:hover{
background:#f7f9fc;
}

.inst-deur{
font-weight:500;
}

.inst-type{
color:#333;
}

.inst-locatie{
font-size:12px;
color:#777;
text-align:right;
}
.btn-verstuur{
margin-top:20px;
padding:12px 20px;
background:#007BFF;
color:white;
border:none;
border-radius:6px;
cursor:pointer;
font-size:16px;
}

.btn-verstuur:hover{
background:#0056b3;
}
.check-deur{
margin-bottom:15px;
}

.check-deur h4{
margin-bottom:5px;
font-size:15px;
}

.check-regel{
display:grid;
grid-template-columns: 1fr 60px 100px;
padding:4px 0;
border-bottom:1px solid #eee;
font-size:14px;
}

.check-totaal{
text-align:right;
margin-top:10px;
}

.check-totaal p{
margin:3px 0;
}