*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Cairo',sans-serif;
    background:#0f172a;
    color:#fff;
    min-height:100vh;
}

.container{
    max-width:1200px;
    margin:auto;
    padding:40px 20px;
}

.hero{
    text-align:center;
    margin-top:50px;
}

.logo-box h1{
    font-size:48px;
    font-weight:800;
}

.subtitle{
    margin-top:15px;
    color:#94a3b8;
    font-size:18px;
}

.stats{
    margin-top:50px;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.card{
    background:#1e293b;
    border-radius:20px;
    padding:30px;
    text-align:center;
}

.number{
    font-size:42px;
    font-weight:800;
    color:#38bdf8;
}

.label{
    margin-top:10px;
    color:#cbd5e1;
}

.actions{
    margin-top:40px;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.action-card{
    background:#1e293b;
    text-decoration:none;
    color:white;
    border-radius:20px;
    padding:40px;
    text-align:center;
    transition:.25s;
}

.action-card:hover{
    transform:translateY(-5px);
    background:#243247;
}

.action-card span{
    font-size:50px;
}

.action-card h2{
    margin-top:15px;
}

@media(max-width:768px){

    .stats,
    .actions{
        grid-template-columns:1fr;
    }

    .logo-box h1{
        font-size:34px;
    }

}

.page-header{
    text-align:center;
    margin-bottom:40px;
}

.back-btn{
    display:inline-block;
    margin-bottom:20px;
    text-decoration:none;
    color:#38bdf8;
    font-weight:700;
}

.create-layout{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:20px;
    align-items:start;
}

.panel{
    background:#1e293b;
    border-radius:20px;
    padding:25px;
}

.panel h2{
    margin-bottom:20px;
}

.panel label{
    display:block;
    margin-top:15px;
    margin-bottom:8px;
}

.panel input,
.panel select{
    width:100%;
    padding:12px;
    border:none;
    border-radius:12px;
    background:#0f172a;
    color:white;
    font-family:'Cairo',sans-serif;
}

.primary-btn,
.save-btn{
    width:100%;
    border:none;
    border-radius:14px;
    padding:16px;
    margin-top:20px;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    transition:.25s;
}

.primary-btn{
    background:#38bdf8;
    color:#0f172a;
}

.save-btn{
    background:#22c55e;
    color:white;
}

.primary-btn:hover,
.save-btn:hover{
    transform:translateY(-3px);
}

.preview-box{
    height:180px;
    border:2px dashed #334155;
    border-radius:20px;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#94a3b8;
    font-size:22px;
    margin-bottom:25px;
}

.preview-info{
    background:#0f172a;
    padding:20px;
    border-radius:15px;
}

.preview-info p{
    margin:10px 0;
}

@media(max-width:900px){

    .create-layout{
        grid-template-columns:1fr;
    }

}

/* ===== Top Bar ===== */

.topbar{
    background:#111827;
    border-bottom:1px solid #334155;
    padding:12px 25px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.brand{
    display:flex;
    align-items:center;
    gap:12px;
}

.brand img{
    width:42px;
    height:42px;
    object-fit:contain;
}

.brand h1{
    font-size:22px;
    margin:0;
}

.topbar nav{
    display:flex;
    gap:25px;
}

.topbar nav a{
    color:#cbd5e1;
    text-decoration:none;
    font-weight:700;
}

.topbar nav a.active{
    color:#38bdf8;
}

.page-title{
    text-align:center;
    margin-bottom:25px;
}

.page-title h2{
    margin-bottom:8px;
}

.page-title p{
    color:#94a3b8;
}

.divider{
    margin:18px 0;
    border:none;
    border-top:1px solid #334155;
}

.radio-box{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-bottom:15px;
}

.radio-box label{
    margin:0;
}

.panel h3{
    margin-bottom:10px;
    color:#38bdf8;
}

.preview-box{
    height:220px;
}

.secondary-btn{
    width:100%;
    border:none;
    border-radius:14px;
    padding:14px;
    margin-top:12px;
    background:#475569;
    color:white;
    font-weight:700;
    cursor:pointer;
}

.export-btn{
    width:100%;
    border:none;
    border-radius:14px;
    padding:14px;
    margin-top:12px;
    background:#334155;
    color:white;
    font-weight:700;
    cursor:pointer;
    transition:.25s;
}

.export-btn:hover,
.secondary-btn:hover{
    transform:translateY(-2px);
}

@media(max-width:900px){

    .topbar{
        flex-direction:column;
        gap:15px;
    }

    .topbar nav{
        flex-wrap:wrap;
        justify-content:center;
    }

}

@media(max-width:1100px){

    .create-layout{
        grid-template-columns:1fr;
    }

}
