*{
    box-sizing:border-box;
}

body{
    margin:0;
    padding:0;
    font-family:'Segoe UI',Tahoma,Arial,sans-serif;

    background:
        radial-gradient(circle at top left,
        rgba(31,182,255,.35),
        transparent 30%),

        radial-gradient(circle at bottom right,
        rgba(21,101,192,.35),
        transparent 35%),

        linear-gradient(
        135deg,
        #04111f,
        #0d47a1,
        #06101d
        );

    color:#111827;

    min-height:100vh;
}

body.dashboard-page{
    min-height:100vh;
    background:
        radial-gradient(circle at top left,rgba(31,182,255,.35),transparent 30%),
        radial-gradient(circle at bottom right,rgba(21,101,192,.35),transparent 35%),
        linear-gradient(135deg,#04111f,#0d47a1,#06101d);
    color:#ffffff;
}
a{
    color:#0f4fb6;
    text-decoration:none;
    font-weight:600;
}

a:hover{
    text-decoration:underline;
}

.topbar{
    background:linear-gradient(135deg,#0d47a1,#1565c0,#1fb6ff);
    color:#ffffff;
    padding:22px 34px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    box-shadow:0 10px 30px rgba(13,71,161,.25);
}

.dashboard-page .topbar{
    background:rgba(255,255,255,.08);
    border-bottom:1px solid rgba(255,255,255,.12);
    box-shadow:0 12px 35px rgba(0,0,0,.25);
    backdrop-filter:blur(18px);
}

.topbar-title{
    font-size:24px;
    font-weight:800;
    letter-spacing:.3px;
}

.topbar a{
    color:#ffffff;
}

.logout{
    background:rgba(255,255,255,.18);
    padding:10px 16px;
    border-radius:999px;
    color:#ffffff;
    text-decoration:none;
    font-weight:800;
}

.wrapper{
    max-width:1180px;
    margin:48px auto;

    background:#f8fbff;

    padding:44px;

    border-radius:30px;

    border:1px solid rgba(255,255,255,.18);

    box-shadow:
    0 35px 80px rgba(0,0,0,.30);
}

.dashboard-page .wrapper{
    max-width:1080px;
    margin:48px auto;
    padding:44px;
    border-radius:30px;
    background:#f8fbff;
    border:1px solid rgba(255,255,255,.18);
    box-shadow:0 35px 80px rgba(0,0,0,.30);
    color:#111827;
}

.dashboard-top{
    display:grid;
    grid-template-columns:1fr 300px;
    gap:28px;
    align-items:start;
    margin-bottom:34px;
}

.dashboard-main h1{
    margin:0 0 10px;
    color:#0d47a1;
    font-size:46px;
    font-weight:900;
    line-height:1;
}

.dashboard-main > p{
    margin:0 0 28px;
    color:#64748b;
    font-size:17px;
}

.dashboard-info-panel{
    max-width:460px;
    padding:20px;
    border-radius:18px;
    background:linear-gradient(180deg,#ffffff,#eef7ff);
    border:1px solid #dbe7f5;
    box-shadow:0 12px 24px rgba(13,71,161,.10);
}

.info-row{
    display:flex;
    justify-content:space-between;
    gap:18px;
    padding:12px 0;
    border-bottom:1px solid #dbe7f5;
}

.info-row:first-child{
    padding-top:0;
}

.info-row:last-child{
    padding-bottom:0;
    border-bottom:none;
}

.info-row span{
    color:#64748b;
    font-size:13px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.8px;
}

.info-row strong{
    color:#0d47a1;
    font-size:16px;
    font-weight:900;
    text-align:right;
    word-break:break-word;
}

.dashboard-side{
    padding:20px;
    border-radius:18px;
    background:linear-gradient(180deg,#ffffff,#eef7ff);
    border:1px solid #dbe7f5;
    box-shadow:0 12px 24px rgba(13,71,161,.10);
}

.dashboard-side label{
    display:block;
    color:#0d47a1;
    font-size:13px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.8px;
    margin-bottom:8px;
}

.dashboard-side select{
    margin-bottom:0;
}

/* ----------------------------- LOGIN EXPERIENCE -------------------------- */

/* ===================================
   LOGIN PAGE ONLY
=================================== */

.login-page{

    margin:0;
    min-height:100vh;

    display:flex;
    justify-content:center;
    align-items:center;

    font-family:'Segoe UI',Tahoma,Arial,sans-serif;

    background:
    radial-gradient(circle at top left,
    rgba(31,182,255,.35),
    transparent 30%),

    radial-gradient(circle at bottom right,
    rgba(21,101,192,.35),
    transparent 35%),

    linear-gradient(
    135deg,
    #04111f,
    #0d47a1,
    #06101d
    );

    overflow:hidden;
    position:relative;
}

.login-page::before{

    content:'';

    position:absolute;

    width:700px;
    height:700px;

    top:-250px;
    left:-250px;

    border-radius:50%;

    background:
    radial-gradient(
    circle,
    rgba(31,182,255,.15),
    transparent
    );
}

.login-page::after{

    content:'';

    position:absolute;

    width:500px;
    height:500px;

    right:-150px;
    bottom:-150px;

    border-radius:50%;

    background:
    radial-gradient(
    circle,
    rgba(255,255,255,.08),
    transparent
    );
}

.login-page .login-wrapper{

    position:relative;

    width:100%;
    max-width:520px;

    padding:55px;

    border-radius:30px;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(30px);

    border:1px solid rgba(255,255,255,.12);

    box-shadow:
    0 35px 80px rgba(0,0,0,.35);

    z-index:2;
}



.login-page .login-wrapper h1{

    margin:0 0 10px;

    text-align:center;

    color:#fff;

    font-size:46px;

    font-weight:900;

    line-height:1;
}

.login-page .login-wrapper h1 span{

    display:block;
    margin-top:8px;

    font-size:28px;
    font-weight:700;

    letter-spacing:1px; /* was 2px */

    color:#29b6f6;

    text-transform:uppercase;

    text-shadow:
    0 0 15px rgba(41,182,246,.45);
}

.login-page .login-wrapper h1::before{

    content:'';

    display:block;

    width:120px;
    height:120px;

    margin:0 auto 5px auto;

    background-image:url('/uploads/images/rocket%20icon.png');

    background-size:contain;
    background-repeat:no-repeat;
    background-position:center;

    filter:
    drop-shadow(
    0 0 18px rgba(41,182,246,.6)
    );
}

.login-page .login-wrapper p{

    text-align:center;
    color:rgba(255,255,255,.75);
    margin-bottom:30px;
}

.login-page input,
.login-page input[type="text"],
.login-page input[type="password"]{

    width:100%;
    padding:16px;
    margin-bottom:15px;

    border-radius:14px;
    border:1px solid #c9d9ea;

    background:#ffffff;

    color:#111827;
    -webkit-text-fill-color:#111827;

    font-size:16px;

    box-sizing:border-box;
}

.login-page input::placeholder{
    color:#64748b;
    -webkit-text-fill-color:#64748b;
}

.login-page button{

    width:100%;
    padding:16px;

    border:none;
    border-radius:14px;

    font-size:16px;
    font-weight:700;

    cursor:pointer;

    color:#fff;

    background:
    linear-gradient(
    90deg,
    #29b6f6,
    #1976d2
    );

    transition:.25s;
}

.login-page button:hover{

    transform:translateY(-2px);

    box-shadow:
    0 10px 25px rgba(41,182,246,.35);
}


/* ---------------------- Heading Styles -------------------- */

h1{
    margin-top:0;
    margin-bottom:12px;
    color:#0d47a1;
    font-size:38px;
}

h2{
    color:#1565c0;
}

p{
    line-height:1.6;
}

label{
    display:block;
    margin-bottom:8px;

    font-size:14px;
    font-weight:700;

    color:#0d47a1;
}

input,
select,
textarea{

    width:100%;

    padding:12px 14px;
    margin-bottom:18px;

    border-radius:10px;
    border:1px solid #c9d9ea;

    background:#ffffff;

    font-size:14px;

    box-sizing:border-box;

}

textarea{
    min-height:120px;
    resize:vertical;
}

input:focus,
textarea:focus,
select:focus{
    outline:none;
    border-color:#1565c0;
    box-shadow:0 0 0 4px rgba(21,101,192,.12);
    background:#ffffff;
}

button,
.button{
    display:inline-block;
    background:linear-gradient(135deg,#1565c0,#0d47a1);
    color:#ffffff;
    border:none;
    padding:14px 24px;
    border-radius:10px;
    cursor:pointer;
    font-weight:800;
    text-decoration:none;
    box-shadow:0 10px 24px rgba(13,71,161,.25);
    transition:.2s ease;
}

button:hover,
.button:hover{
    transform:translateY(-1px);
    text-decoration:none;
}

.success{
    background:#e8f5e9;
    border-left:6px solid #43a047;
    color:#1b5e20;
    padding:16px;
    border-radius:10px;
    margin-bottom:22px;
}

.error{
    background:#ffebee;
    border-left:6px solid #e53935;
    color:#b71c1c;
    padding:16px;
    border-radius:10px;
    margin-bottom:22px;
}

.help{
    font-size:14px;
    color:#000000;
    margin-top:-8px;
    margin-bottom:22px;
    line-height:1.5;
}

.actions{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
    margin:18px 0 24px;
}

/* --------------------------- Dashboard Cards ------------------------------ */

.card-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
    gap:20px;
    margin-top:30px;
}

.card{

    min-height:150px;

    background:linear-gradient(
    135deg,
    #38b6ff 0%,
    #1f84e7 100%
);

    padding:26px;
    border-radius:18px;
    text-decoration:none;
    color:#ffffff;
    border:1px solid rgba(255,255,255,.18);
    box-shadow:0 15px 35px rgba(13,71,161,.22);
    transition:.25s ease;

}

.card:hover{
    transform:translateY(-5px);
    box-shadow:
        0 18px 42px rgba(0,0,0,.28),
        0 0 28px rgba(41,182,246,.28);
    text-decoration:none;
}

.card h2{
    margin:0 0 14px;
    color:#0d47a1;
    font-size:24px;
    font-weight:900;
}

.card p{
    color:rgba(255,255,255,.82);
    margin:0;
}


/* -------------------------- Tables --------------------------------------- */

table{
    width:100%;
    border-collapse:collapse;
    background:#ffffff;
    border-radius:12px;
    overflow:hidden;
    table-layout:fixed;
}

table th{
    background:#0d47a1;
    color:#ffffff;
}

table th,
table td{
    padding:14px;
    border:1px solid #dbe7f5;
    text-align:left;
    vertical-align:top;
    overflow-wrap:anywhere;
    word-break:break-word;
}

/* COLUMN WIDTHS */

table th:nth-child(1),
table td:nth-child(1){
    width:16%;
}

table th:nth-child(2),
table td:nth-child(2){
    width:22%;
}

table th:nth-child(3),
table td:nth-child(3){
    width:9%;
}

table th:nth-child(4),
table td:nth-child(4){
    width:16%;
}

table th:nth-child(5),
table td:nth-child(5){
    width:8%;
    text-align:center;
}

table th:nth-child(6),
table td:nth-child(6){
    width:8%;
    text-align:center;
}

table th:nth-child(7),
table td:nth-child(7){
    width:13%;
}


/* -------------------------- Media Library ------------------------------ */

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
    gap:24px;
    margin-top:25px;
}

.item{
    border:1px solid #dbe7f5;
    padding:18px;
    background:#f8fbff;
    border-radius:14px;
    box-shadow:0 8px 22px rgba(13,71,161,.08);
    display:flex;
    flex-direction:column;
    height:100%;
}

.item img{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
    margin-bottom:14px;
    border-radius:10px;
}

.file-preview{
    width:100%;
    height:220px;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#eef4ff;
    border-radius:10px;
    margin-bottom:14px;
    font-weight:800;
    color:#0d47a1;
}

.item strong{
    font-size:16px;
    margin-bottom:10px;
    line-height:1.4;
    overflow:hidden;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
}

.media-status{
    display:inline-block;
    width:fit-content;
    padding:6px 12px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
    margin-top:6px;
    margin-bottom:10px;
}

.media-used{
    background:#e8f5e9;
    color:#1b5e20;
}

.media-unused{
    background:#ffebee;
    color:#b71c1c;
}

.media-usage-box{
    background:#ffffff;
    border:1px solid #dbe7f5;
    border-radius:10px;
    padding:10px;
    margin-top:8px;
    margin-bottom:8px;
}

.media-usage-title{
    font-size:12px;
    font-weight:800;
    color:#0d47a1;
    margin-bottom:6px;
}

.media-usage-list{
    font-size:12px;
    color:#64748b;
    line-height:1.6;
}

.file-path{
    font-size:12px;
    color:#64748b;
    margin-top:8px;
    overflow-wrap:anywhere;
    word-break:break-word;
    line-height:1.5;
}

.item .actions{
    margin-top:auto;
    padding-top:14px;
}

.item .button{
    text-align:center;
}


.media-more{
    margin-top:8px;
    font-size:12px;
    color:#64748b;
}

.media-more summary{
    cursor:pointer;
    font-weight:700;
    color:#0d47a1;
    margin-bottom:6px;
}

.media-more summary:hover{
    opacity:.85;
}

.media-more[open]{
    padding-top:6px;
}




/* ------------ Page/Edit and Settings Sections --------------------- */

.section{
    margin-top:28px;
    padding:24px 28px;
    border-radius:22px;

    background:linear-gradient(
    135deg,
    #38b6ff 0%,
    #1f84e7 100%
);

    border:1px solid rgba(41,182,246,.20);

    box-shadow:
        0 10px 24px rgba(13,71,161,.10);
}

.section:first-of-type{
    margin-top:26px;
}

.section h2{
    margin-top:0;
    margin-bottom:22px;

    color:#0d47a1;

    font-size:28px;
    font-weight:900;

    text-shadow:
        0 0 10px rgba(255,255,255,.55);
}

.section h3{
    margin-top:34px;
    color:#0d47a1;
    font-size:22px;
}


.settings-grid{
    display:grid;
    grid-template-columns:1.45fr 1fr;
    gap:24px;
    align-items:stretch;
}

.settings-grid .section{
    margin-top:28px;
}

.settings-theme-box{
    display:flex;
    flex-direction:column;
}

.settings-theme-box button{
    width:fit-content;
    margin-top:24px;
}

.settings-users-box{
    margin-top:24px;
}

.users-grid{
    display:grid;
    grid-template-columns:360px 1fr;
    gap:28px;
    align-items:start;
}

.add-user-box h3,
.existing-users-box h3{
    margin-top:0;
}

.existing-users-box{
    overflow-x:auto;
}



/* -------------------------- Page Editor Rebuild -------------------------- */

.page-editor-wrapper{
    max-width:1320px;
}

.page-editor-hero{
    display:grid;
    grid-template-columns:1fr auto;
    gap:28px;
    align-items:start;
    margin-bottom:26px;
}

.page-editor-kicker{
    display:inline-block;
    margin-bottom:10px;
    padding:7px 12px;
    border-radius:999px;
    background:linear-gradient(135deg,#38b6ff,#1f84e7);
    color:#ffffff;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.8px;
}

.page-editor-hero h1{
    margin-bottom:10px;
    font-size:44px;
    line-height:1;
}

.page-editor-hero p{
    max-width:720px;
    margin:0;
    color:#64748b;
    font-size:16px;
}

.page-editor-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    justify-content:flex-end;
}

.page-editor-actions .button,
.page-editor-actions button{
    margin:0;
    white-space:nowrap;
}

.page-editor-overview{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
    margin-bottom:28px;
}

.page-editor-stat{
    padding:18px;
    border-radius:18px;
    background:linear-gradient(180deg,#ffffff,#eef7ff);
    border:1px solid #dbe7f5;
    box-shadow:0 10px 24px rgba(13,71,161,.10);
}

.page-editor-stat span{
    display:block;
    margin-bottom:8px;
    color:#64748b;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.8px;
}

.page-editor-stat strong{
    display:block;
    color:#0d47a1;
    font-size:20px;
    font-weight:900;
    overflow-wrap:anywhere;
}

.section-heading-row{
    display:flex;
    justify-content:space-between;
    gap:20px;
    align-items:flex-start;
    margin-bottom:22px;
}

.section-heading-row h2{
    margin-bottom:8px;
}

.section-heading-row p{
    margin:0;
    color:#08345f;
    font-weight:600;
}

.page-settings-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px 22px;
}

.page-settings-grid input,
.page-settings-grid select,
.page-settings-grid textarea{
    margin-bottom:0;
}

.page-settings-wide{
    grid-column:1 / -1;
}

.page-content-section{
    padding-bottom:30px;
}

.empty-editor-state{
    padding:24px;
    border-radius:18px;
    background:#ffffff;
    border:1px dashed #b7c9df;
    color:#0d47a1;
}

.empty-editor-state strong{
    display:block;
    margin-bottom:8px;
    font-size:18px;
    font-weight:900;
}

.empty-editor-state p{
    margin:0;
    color:#64748b;
}

.editor-section-list{
    display:flex;
    flex-direction:column;
    gap:22px;
}

.editor-section-card{
    overflow:hidden;
    border-radius:22px;
    background:#ffffff;
    border:1px solid #dbe7f5;
    box-shadow:0 14px 30px rgba(13,71,161,.14);
}

.editor-section-card[open]{
    box-shadow:
        0 18px 38px rgba(13,71,161,.20),
        0 0 0 1px rgba(41,182,246,.22);
}

.editor-section-header{
    display:grid;
    grid-template-columns:1fr auto;
    gap:20px;
    align-items:center;
    padding:22px 24px;
    cursor:pointer;
    list-style:none;
    background:linear-gradient(180deg,#ffffff,#eef7ff);
}

.editor-section-header::-webkit-details-marker{
    display:none;
}

.editor-section-header::after{
    content:'+';
    width:34px;
    height:34px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:999px;
    background:linear-gradient(135deg,#38b6ff,#1f84e7);
    color:#ffffff;
    font-size:24px;
    font-weight:900;
    box-shadow:0 8px 18px rgba(13,71,161,.20);
}

.editor-section-card[open] .editor-section-header::after{
    content:'–';
}

.editor-section-title-block{
    display:flex;
    flex-direction:column;
    gap:6px;
}

.editor-section-title-block strong{
    color:#0d47a1;
    font-size:24px;
    font-weight:900;
}

.editor-section-title-block small{
    color:#64748b;
    font-size:13px;
    font-weight:700;
    overflow-wrap:anywhere;
}

.editor-section-number{
    width:fit-content;
    padding:5px 10px;
    border-radius:999px;
    background:#eaf6ff;
    color:#0d47a1;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.7px;
}

.editor-section-meta{
    display:flex;
    gap:10px;
    align-items:center;
    padding-right:48px;
}

.editor-section-meta span{
    display:inline-flex;
    padding:7px 10px;
    border-radius:999px;
    background:#eef4ff;
    color:#0d47a1;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.5px;
    white-space:nowrap;
}

.editor-section-body{
    padding:22px;
    border-top:1px solid #dbe7f5;
    background:#f8fbff;
}

.editor-column-grid{
    display:grid;
    gap:18px;
}

.editor-column-count-1{
    grid-template-columns:1fr;
}

.editor-column-count-2{
    grid-template-columns:repeat(2,minmax(0,1fr));
}

.editor-column-count-3,
.editor-column-count-4,
.editor-column-count-5,
.editor-column-count-6{
    grid-template-columns:repeat(2,minmax(0,1fr));
}

.editor-column-card{
    padding:18px;
    border-radius:18px;
    background:#ffffff;
    border:1px solid #dbe7f5;
    box-shadow:0 10px 22px rgba(13,71,161,.10);
}

.editor-column-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:14px;
    padding-bottom:10px;
    border-bottom:1px solid #dbe7f5;
}

.editor-column-header strong{
    color:#0d47a1;
    font-size:15px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.7px;
}

.editor-group-list{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.editor-fields-grid + .editor-group-list{
    margin-top:14px;
}

.editor-group-card{
    padding:16px;
    border-radius:16px;
    background:#eef7ff;
    border:1px solid #cfe2f7;
}

.editor-group-header{
    display:flex;
    justify-content:space-between;
    gap:12px;
    align-items:center;
    margin-bottom:14px;
}

.editor-group-header strong{
    color:#0d47a1;
    font-size:15px;
    font-weight:900;
}

.editor-group-header span{
    display:inline-flex;
    padding:6px 9px;
    border-radius:999px;
    background:#ffffff;
    color:#1565c0;
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.5px;
}

.editor-fields-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:14px;
}

.editor-field{
    padding:16px;
    border-radius:14px;
    background:#ffffff;
    border:1px solid #dbe7f5;
    box-shadow:0 8px 18px rgba(13,71,161,.07);
}

.editor-field label{
    margin-bottom:0;
    color:#0d47a1;
    font-size:15px;
    font-weight:900;
}

.editor-field label span{
    display:inline-flex;
    margin-left:8px;
    padding:4px 8px;
    border-radius:999px;
    background:#eaf6ff;
    color:#1565c0;
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.5px;
    vertical-align:middle;
}

.editor-field-key{
    margin-top:8px;
    margin-bottom:12px;
    padding:8px 10px;
    border-radius:10px;
    background:#f1f6fd;
    color:#64748b;
    font-size:12px;
    font-weight:700;
    overflow-wrap:anywhere;
}

.editor-field input,
.editor-field textarea,
.editor-field select{
    margin-bottom:0;
}

.editor-field textarea{
    min-height:150px;
}

.page-editor-bottom-save{
    display:flex;
    justify-content:flex-end;
    margin-top:28px;
}

.page-editor-bottom-save button{
    min-width:180px;
}

/* ---------------------- Page Editor Responsive --------------------------- */

@media(max-width:1000px){

    .page-editor-hero{
        grid-template-columns:1fr;
    }

    .page-editor-actions{
        justify-content:flex-start;
    }

    .page-editor-overview{
        grid-template-columns:repeat(2,1fr);
    }

    .editor-column-count-2,
    .editor-column-count-3,
    .editor-column-count-4,
    .editor-column-count-5,
    .editor-column-count-6{
        grid-template-columns:1fr;
    }
}

@media(max-width:768px){

    .page-editor-hero h1{
        font-size:32px;
    }

    .page-editor-actions{
        flex-direction:column;
    }

    .page-editor-actions .button,
    .page-editor-actions button{
        width:100%;
        text-align:center;
    }

    .page-editor-overview{
        grid-template-columns:1fr;
    }

    .page-settings-grid{
        grid-template-columns:1fr;
    }

    .editor-section-header{
        grid-template-columns:1fr;
        position:relative;
        padding-right:68px;
    }

    .editor-section-header::after{
        position:absolute;
        right:18px;
        top:18px;
    }

    .editor-section-meta{
        padding-right:0;
        flex-wrap:wrap;
    }

    .editor-section-title-block strong{
        font-size:20px;
    }

    .page-editor-bottom-save button{
        width:100%;
    }
}


/* -------------------------------- Responsive ------------------------------ */


@media(max-width:900px){

    .settings-grid,
    .users-grid{
        grid-template-columns:1fr;
    }

    .settings-theme-box button{
        width:100%;
    }
}


@media(max-width:768px){
    .topbar{
        flex-direction:column;
        gap:12px;
        text-align:center;
    }

    .wrapper,
    .login-wrapper{
        margin:20px;
        padding:24px;
    }

    h1{
        font-size:30px;
    }

    .actions{
        flex-direction:column;
    }

    .button{
        text-align:center;
    }

    .grid{
        grid-template-columns:1fr;
    }

    .dashboard-top{
        grid-template-columns:1fr;
    }

    .dashboard-top{
        grid-template-columns:1fr;
    }

    .dashboard-info-panel{
        max-width:none;
    }
}

.login-page{
    padding:24px 16px;
    align-items:center;
    overflow:auto;
}

.login-page .login-wrapper{
    width:100%;
    max-width:420px;
    padding:34px 24px;
    border-radius:24px;
}

.login-page .login-wrapper h1{
    font-size:34px;
}

.login-page .login-wrapper h1 span{
    font-size:22px;
}

.login-page .login-wrapper h1::before{
    width:95px;
    height:95px;
}


/* ------------------Tables Mobile ----------------------*/
@media(max-width:768px){

    table,
    table thead,
    table tbody,
    table th,
    table td,
    table tr{
        display:block;
        width:100%;
    }

    table tr:first-child{
        display:none;
    }

    table tr{
        margin-bottom:16px;
        border:1px solid #dbe7f5;
        border-radius:14px;
        overflow:hidden;
        background:#ffffff;
    }

    table td{
        display:grid;
        grid-template-columns:110px 1fr;
        gap:12px;
        padding:12px 14px;
        border:none;
        border-bottom:1px solid #dbe7f5;
        text-align:left !important;
    }

    table td:last-child{
        border-bottom:none;
    }

    table td:nth-child(1)::before{ content:'Title'; font-weight:900; color:#0d47a1; }
    table td:nth-child(2)::before{ content:'Slug'; font-weight:900; color:#0d47a1; }
    table td:nth-child(3)::before{ content:'Status'; font-weight:900; color:#0d47a1; }
    table td:nth-child(4)::before{ content:'Theme'; font-weight:900; color:#0d47a1; }
    table td:nth-child(5)::before{ content:'Sections'; font-weight:900; color:#0d47a1; }
    table td:nth-child(6)::before{ content:'Fields'; font-weight:900; color:#0d47a1; }
    table td:nth-child(7)::before{ content:'Action'; font-weight:900; color:#0d47a1; }
}