*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial,Helvetica,sans-serif;
}

body{

background:linear-gradient(135deg,#020617,#0f172a,#1e293b);
min-height:100vh;
padding:30px;
color:#fff;

}

.container{

max-width:900px;
margin:auto;
background:#111827;
border:1px solid #334155;
border-radius:24px;
overflow:hidden;
box-shadow:0 25px 60px rgba(0,0,0,.45);

}

.header{

display:flex;
justify-content:space-between;
align-items:center;
padding:25px 30px;
background:#0f172a;
border-bottom:1px solid #334155;

}

.brand{

display:flex;
align-items:center;
gap:15px;

}

.logo{

width:60px;
height:60px;
border-radius:18px;
background:linear-gradient(135deg,#2563eb,#38bdf8);
display:flex;
align-items:center;
justify-content:center;
font-size:30px;

}

.brand h1{

font-size:26px;
margin-bottom:5px;

}

.brand p{

color:#94a3b8;
font-size:14px;

}

.status{

display:flex;
align-items:center;
gap:8px;
background:#1e293b;
padding:10px 16px;
border-radius:30px;
font-size:14px;

}

.dot{

width:10px;
height:10px;
background:#22c55e;
border-radius:50%;
box-shadow:0 0 12px #22c55e;

}

.info-card{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
gap:15px;
padding:25px;

}

.info-box{

background:#1e293b;
border:1px solid #334155;
padding:18px;
border-radius:16px;
transition:.3s;

}

.info-box:hover{

transform:translateY(-4px);

}

.info-box h3{

margin-bottom:10px;
font-size:15px;
color:#38bdf8;

}

.email-form{

padding:0 25px 25px;

}

label{

display:block;
margin:16px 0 8px;
font-weight:bold;
color:#cbd5e1;

}

input,
select,
textarea{

width:100%;
padding:14px;
background:#1e293b;
border:1px solid #334155;
border-radius:12px;
color:white;
font-size:15px;
transition:.3s;

}

input:focus,
select:focus,
textarea:focus{

outline:none;
border-color:#38bdf8;
box-shadow:0 0 0 4px rgba(56,189,248,.15);

}

textarea{

height:120px;
resize:none;

}

.grid{

display:grid;
grid-template-columns:1fr 1fr;
gap:15px;

}

.button-group{

display:flex;
gap:15px;
margin-top:25px;

}

button{

flex:1;
padding:15px;
border:none;
border-radius:14px;
font-size:15px;
font-weight:bold;
cursor:pointer;
transition:.3s;

}

.preview{

background:#334155;
color:white;

}

.preview:hover{

background:#475569;
transform:translateY(-2px);

}

.send{

background:linear-gradient(135deg,#2563eb,#3b82f6);
color:white;

}

.send:hover{

transform:translateY(-2px);
box-shadow:0 15px 30px rgba(37,99,235,.35);

}

footer{

margin-top:25px;
padding:20px;
text-align:center;
border-top:1px solid #334155;
color:#94a3b8;
font-size:14px;

}

.modal{

display:none;
position:fixed;
left:0;
top:0;
width:100%;
height:100%;
background:rgba(0,0,0,.75);
justify-content:center;
align-items:center;
padding:20px;

}

.modal-content{

width:100%;
max-width:900px;
height:90%;
background:white;
border-radius:20px;
overflow:hidden;

}

.modal-header{

height:60px;
background:#0f172a;
display:flex;
justify-content:space-between;
align-items:center;
padding:0 20px;
color:white;

}

.modal-header button{

background:#ef4444;
padding:10px 18px;
border-radius:10px;
color:white;
flex:none;

}

#previewFrame{

width:100%;
height:calc(100% - 60px);
border:none;

}

@media(max-width:768px){

body{

padding:15px;

}

.header{

flex-direction:column;
gap:15px;
text-align:center;

}

.grid{

grid-template-columns:1fr;

}

.button-group{

flex-direction:column;

}

.logo{

width:55px;
height:55px;
font-size:26px;

}

.brand h1{

font-size:22px;

}

}

#toast{

position:fixed;

top:25px;

right:25px;

background:#16a34a;

color:white;

padding:15px 22px;

border-radius:12px;

font-weight:bold;

box-shadow:0 10px 25px rgba(0,0,0,.25);

opacity:0;

transform:translateY(-20px);

transition:.35s;

z-index:9999;

max-width:320px;

}

#toast.show{

opacity:1;

transform:translateY(0);

}

#toast.error{

background:#dc2626;

}

#toast.warning{

background:#f59e0b;

}
