*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, Helvetica, sans-serif;
}

body{
background:#0f172a;
min-height:100vh;
display:flex;
align-items:center;
justify-content:center;
padding:25px;
}

.container{
width:100%;
max-width:580px;
background:#111827;
border-radius:24px;
padding:30px;
border:1px solid rgba(255,255,255,0.08);
box-shadow:0 0 40px rgba(0,0,0,0.4);
}

.title{
color:#fff;
font-size:24px;
font-weight:bold;
text-align:center;
margin-bottom:6px;
}

.subtitle{
text-align:center;
color:#94a3b8;
margin-bottom:15px;
font-size:12px;
font-weight: bold;
}

.form-group{
margin-bottom:15px;
}

label{
display:block;
color:#fff;
margin-bottom:10px;
font-size:14px;
font-weight:600;
}

.label-row{
display:flex;
align-items:center;
justify-content:space-between;
}

.radio-group{
display:flex;
gap:15px;
}

.radio-box{
flex:1;
background:#1e293b;
padding:14px;
border-radius:14px;
border:1px solid #334155;
display:flex;
align-items:center;
gap:10px;
cursor:pointer;
}

.radio-box input{
accent-color:#2563eb;
}

select,
textarea,
input[type="file"]{
width:100%;
background:#1e293b;
border:1px solid #334155;
color:#fff;
padding:15px;
border-radius:14px;
outline:none;
}

textarea{
resize:none !important;
height:100px !important;
}

.preview-btn{
background:#2563eb;
color:white;
border:none;
padding:8px 14px;
border-radius:10px;
cursor:pointer;
font-size:13px;
font-weight:600;
display:none;
}

.submit-btn{
width:100%;
padding:16px;
border:none;
border-radius:14px;
background:linear-gradient(
135deg,
#1877f2,
#2563eb
);
color:white;
font-size:16px;
font-weight:bold;
cursor:pointer;
}

.submit-btn:disabled{
opacity:0.7;
}

.footer{
text-align:center;
margin-top:25px;
color:#64748b;
font-size:12px;
}

.popup{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.85);
display:none;
align-items:center;
justify-content:center;
z-index:999;
padding:20px;
}

.popup-content{
position:relative;
width:100%;
max-width:750px;
background:#111827;
border-radius:20px;
overflow:hidden;
}

.popup-content img{
width:100%;
max-height:85vh;
object-fit:contain;
display:block;
background:#000;
}

.close-btn{
position:absolute;
top:15px;
right:15px;
width:42px;
height:42px;
border:none;
border-radius:50%;
background:#ef4444;
color:white;
font-size:18px;
cursor:pointer;
font-weight:bold;
}

.toast{
position:fixed;
top:20px;
right:20px;
width:320px;
max-width:90%;
padding:18px;
border-radius:16px;
color:#fff;
font-size:14px;
font-weight:600;
z-index:9999;
opacity:0;
transform:translateY(-20px);
transition:0.4s;
white-space:normal;
line-height:1.6;
}

.toast.show{
opacity:1;
transform:translateY(0);
}

.toast.success{
background:#16a34a;
}

.toast.error{
background:#dc2626;
}