/* =========================================================
   PLASTICBLOCKS3D WEBSITE CSS
   Refined Version
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */


:root {

    --bg: #0d1117;

    --card: #171c24;

    --card-hover: #202733;

    --accent: #2f8cff;

    --accent-light: #4b9eff;

    --text: #f5f7fa;

    --muted: #aab7c8;

    --cream: #f6f3ec;

    --dark-card: #1a2230;

    --border:
    rgba(255,255,255,.08);

}





/* =========================================================
   RESET
========================================================= */


* {

    margin:0;

    padding:0;

    box-sizing:border-box;

}



html {

    scroll-behavior:smooth;

}



body {

    font-family:

    "Inter",

    sans-serif;


    background:

    linear-gradient(
        #0d1117,
        #111827
    );


    color:var(--text);

}



img {

    max-width:100%;

    display:block;

}



a {

    text-decoration:none;

    color:inherit;

}



button {

    font-family:inherit;

}





/* =========================================================
   TYPOGRAPHY
========================================================= */


h1,
h2,
h3 {

    font-family:

    "Space Grotesk",

    sans-serif;

}



p {

    line-height:1.8;

}





.container {

    max-width:1300px;

    width:90%;

    margin:auto;

}





.section-label {

    color:var(--accent);

    font-weight:700;

    letter-spacing:3px;

    text-transform:uppercase;

    margin-bottom:18px;

}





/* =========================================================
   NAVIGATION
========================================================= */


.nav {

    position:sticky;

    top:0;

    z-index:1000;


    display:flex;

    justify-content:space-between;

    align-items:center;


    padding:18px 6%;


    background:

    rgba(13,17,23,.82);


    backdrop-filter:blur(16px);


    border-bottom:

    1px solid var(--border);

}





.brand {

    display:flex;

    align-items:center;

    gap:15px;

}



.brand h2 {

    font-family:

    "Space Grotesk";

}



.brand p {

    color:var(--muted);

    font-size:.85rem;

}





.logo-link img {

    width:55px;

    height:55px;

    object-fit:contain;

}





.mobile-menu {

    display:flex;

    align-items:center;

    gap:20px;

}



.mobile-menu a {

    color:#C7D2E0;

    font-weight:600;

    padding:10px 16px;

    border-radius:10px;

    transition:.25s ease;

}



.mobile-menu a:hover,
.mobile-menu a.active {

    color:white;

    background:

    rgba(47,140,255,.18);

}





.admin-login-link {

    background:var(--accent);

    color:white !important;

}





/* =========================================================
   MOBILE MENU BUTTON
========================================================= */


.menu-toggle {

    display:none;

    background:none;

    border:none;

    cursor:pointer;

}



.menu-toggle span {

    display:block;

    width:30px;

    height:3px;

    margin:6px;

    background:white;

    border-radius:10px;

    transition:.3s;

}





/* =========================================================
   BUTTONS
========================================================= */


.cta,
.primary {


    display:inline-flex;


    align-items:center;


    justify-content:center;


    background:var(--accent);


    color:white;


    padding:15px 28px;


    border-radius:14px;


    font-weight:600;


    border:none;


    cursor:pointer;


    transition:

    transform .25s ease,

    box-shadow .25s ease,

    background .25s ease;



    box-shadow:

    0 12px 30px rgba(47,140,255,.25);


}



.cta:hover,
.primary:hover {


    transform:translateY(-3px);


    background:var(--accent-light);


    box-shadow:

    0 20px 45px rgba(47,140,255,.35);


}





.secondary {


    display:inline-flex;


    align-items:center;


    justify-content:center;


    padding:15px 28px;


    border-radius:14px;


    border:

    2px solid var(--accent);


    color:white;


    transition:.25s ease;


}



.secondary:hover {


    background:var(--accent);


    transform:translateY(-3px);


}





button:disabled {

    opacity:.6;

    cursor:not-allowed;

}

/* =========================================================
   HERO SECTION
========================================================= */


.hero {

    display:grid;

    grid-template-columns:

    1.1fr .9fr;


    gap:50px;


    align-items:center;


    padding:80px 6%;


    min-height:80vh;

}



.hero h1 {


    font-family:

    "Space Grotesk";


    font-size:4.5rem;


    line-height:.95;


    margin-bottom:25px;


}



.hero p {


    color:var(--muted);


}



.eyebrow {


    color:#7db8ff;


    letter-spacing:.15em;


    margin-bottom:20px;


}



.buttons {


    display:flex;


    gap:16px;


    margin-top:30px;


}




.hero-image {


    display:flex;


    justify-content:center;


}



.hero-image img {


    width:100%;


    max-width:520px;


    border-radius:24px;


    box-shadow:


    0 30px 80px rgba(0,0,0,.35);


    transition:.4s;


}



.hero-image img:hover {


    transform:

    translateY(-8px)

    scale(1.02);


}





.placeholder {


    height:460px;


    width:100%;


    border-radius:28px;


    background:


    linear-gradient(

    135deg,

    #1d2735,

    #111827

    );


    border:

    1px solid var(--border);


    display:flex;


    align-items:center;


    justify-content:center;


    color:#6faeff;


    font-family:

    "Space Grotesk";


    font-size:1.4rem;


}





/* =========================================================
   CREAM CONTENT SECTIONS
========================================================= */


.intro,
.projects {


    background:var(--cream);


    color:#222;


    padding:120px 8%;


}



.intro h2,
.projects h2 {


    font-family:

    "Space Grotesk";


    font-size:3rem;


    margin-bottom:20px;


}



.intro-text {


    color:#555;


    max-width:720px;


    margin-bottom:70px;


    font-size:1.15rem;


}





/* =========================================================
   GENERAL CARD SYSTEM
========================================================= */


.cards {


    display:grid;


    grid-template-columns:

    repeat(2,1fr);


    gap:30px;


}



.card {


    background:white;


    padding:35px;


    border-radius:22px;


    box-shadow:


    0 12px 40px rgba(0,0,0,.08);


    border-top:

    5px solid var(--accent);


    transition:.35s;


}



.card:hover {


    transform:

    translateY(-8px);


}





.card h3 {


    font-family:

    "Space Grotesk";


    margin-bottom:15px;


}



.card p {


    color:#666;


}





/* =========================================================
   SERVICES
========================================================= */


.service-grid {


    display:grid;


    grid-template-columns:

    repeat(2,1fr);


    gap:30px;


    margin-top:50px;


}



.service-card {


    background:white;


    color:#222;


    padding:35px;


    border-radius:22px;


    box-shadow:


    0 12px 40px rgba(0,0,0,.08);


    border-top:

    5px solid var(--accent);


    transition:.3s;


}



.service-card:hover {


    transform:

    translateY(-8px);


}



.service-card h3 {


    font-family:

    "Space Grotesk";


    margin-bottom:18px;


}



.service-card p {


    color:#666;


}





/* =========================================================
   MAKER SECTION
========================================================= */


.maker {


    background:#111827;


    padding:120px 8%;


}



.maker-container {


    max-width:1300px;


    margin:auto;


    display:grid;


    grid-template-columns:

    1fr 1.2fr;


    gap:70px;


    align-items:center;


}



.photo-placeholder {


    width:100%;


    max-width:420px;


    height:420px;


    border-radius:24px;


    border:

    3px dashed var(--accent);


    display:flex;


    align-items:center;


    justify-content:center;


    color:#9fb3c8;


    background:#1A2230;


}



.maker-text h2 {


    font-size:3rem;


}



.maker-text p {


    color:#C6D0DD;


}





/* =========================================================
   PROCESS SECTION
========================================================= */


.process {


    background:#111827;


    padding:120px 8%;


}



.process-grid {


    display:grid;


    grid-template-columns:

    repeat(4,1fr);


    gap:30px;


    margin-top:70px;


}



.step {


    background:#1A2230;


    padding:35px;


    border-radius:22px;


    text-align:center;


    border-top:

    5px solid var(--accent);


    transition:.3s;


}



.step:hover {


    transform:

    translateY(-8px);


}



.icon {


    font-size:3rem;


}





/* =========================================================
   FEATURED PROJECTS
========================================================= */


.project-grid {


    display:grid;


    grid-template-columns:

    repeat(3,1fr);


    gap:35px;


    margin-top:70px;


}



.project-card {


    background:white;


    color:#222;


    border-radius:24px;


    overflow:hidden;


    box-shadow:


    0 15px 45px rgba(0,0,0,.08);


    transition:.35s;


}



.project-card:hover {


    transform:

    translateY(-10px);


}



.project-image {


    height:260px;


    background:#D9D9D9;


    display:flex;


    justify-content:center;


    align-items:center;


    color:#666;


}



.project-content {


    padding:30px;


}



.project-content p {


    color:#666;


}





/* =========================================================
   FOOTER
========================================================= */


.footer {


    background:#0B1017;


    color:#E5EAF2;


    padding:80px 8% 30px;


}



.footer-grid {


    display:grid;


    grid-template-columns:

    2fr 1fr 1fr;


    gap:60px;


}



.footer h2 {


    font-size:2rem;


}



.footer h3 {


    color:white;


}



.footer-tagline {


    color:var(--accent);


    font-weight:600;


}



.footer-text {


    color:#B8C4D3;


}



.footer-links {


    list-style:none;


    padding:0;


}



.footer-links li {


    margin-bottom:12px;


}



.footer-links a {


    color:#B8C4D3;


    transition:.25s;


}



.footer-links a:hover {


    color:white;


    padding-left:6px;


}



.copyright {


    border-top:

    1px solid rgba(255,255,255,.08);


    margin-top:50px;


    padding-top:25px;


    text-align:center;


    color:#7E8A99;


}

/* =========================================================
   INTERIOR PAGE HEADER
========================================================= */


.page-header {


    background:

    linear-gradient(

    180deg,

    #111827,

    #0D1117

    );


    color:white;


    padding:

    120px 8% 90px;


}



.page-header h1 {


    font-family:

    "Space Grotesk";


    font-size:

    4rem;


    line-height:

    1.05;


    margin:

    20px 0;


}



.page-header .intro-text {


    color:#D7E3F3;


    max-width:700px;


}





/* =========================================================
   INTERIOR PAGE CONTENT
========================================================= */


.page-content {


    background:

    #F6F3EC;


    color:#242424;


    padding:

    90px 8%;


}



.page-content h2 {


    font-family:

    "Space Grotesk";


    font-size:

    2.4rem;


    margin-bottom:25px;


}



.page-content p {


    color:#555;


    line-height:1.9;


}





/* =========================================================
   ABOUT PAGE
========================================================= */


.about-grid {


    display:grid;


    grid-template-columns:

    repeat(3,1fr);


    gap:30px;


}



.about-card {


    background:white;


    padding:35px;


    border-radius:22px;


    box-shadow:

    0 12px 40px rgba(0,0,0,.08);


}



.about-card h2 {


    font-size:

    1.8rem;


}



.about-card p {


    color:#666;


}





/* =========================================================
   CONTACT PAGE
========================================================= */


.contact-grid {


    display:grid;


    grid-template-columns:

    repeat(3,1fr);


    gap:30px;


}



.contact-card {


    background:white;


    padding:35px;


    border-radius:22px;


    box-shadow:

    0 12px 40px rgba(0,0,0,.08);


}



.contact-card h2 {


    margin-bottom:20px;


}



.contact-card a {


    color:#2F8CFF;


    font-weight:600;


}





/* =========================================================
   GALLERY PAGE
========================================================= */


.gallery-grid {


    display:grid;


    grid-template-columns:

    repeat(2,1fr);


    gap:35px;


}



.gallery-card {


    background:white;


    border-radius:24px;


    overflow:hidden;


    box-shadow:

    0 12px 40px rgba(0,0,0,.08);


    transition:.35s;


}



.gallery-card:hover {


    transform:

    translateY(-8px);


}



.gallery-card img {


    width:100%;


    height:280px;


    object-fit:cover;


}



.gallery-content {


    padding:30px;


}



.gallery-content h3 {


    font-family:

    "Space Grotesk";


}



.gallery-content p {


    color:#666;


}





/* =========================================================
   QUOTE PAGE
========================================================= */


.quote-choice-grid {


    display:grid;


    grid-template-columns:

    repeat(2,1fr);


    gap:35px;


    margin:

    50px 0 80px;


}



.quote-choice-card {


    background:white;


    padding:40px;


    border-radius:24px;


    box-shadow:

    0 15px 45px rgba(0,0,0,.08);


    border-top:

    5px solid var(--accent);


}



.quote-choice-card h3 {


    font-size:

    1.5rem;


    margin-bottom:20px;


}



.quote-choice-card p {


    color:#666;


}





.quote-section {


    background:#111827;


    color:white;


    padding:50px;


    border-radius:28px;


    margin-top:50px;


}



.quote-section h2 {


    color:white;


}





/* =========================================================
   FORMS
========================================================= */


.quote-form {


    max-width:750px;


    display:flex;


    flex-direction:column;


    gap:15px;


}



.quote-form label {


    color:white;


    font-weight:600;


    margin-top:10px;


}



.quote-form input,
.quote-form textarea,
.quote-form select {


    width:100%;


    padding:16px;


    border-radius:12px;


    border:none;


    font-family:

    "Inter";


    font-size:

    1rem;


}



.quote-form textarea {


    resize:vertical;


}



.quote-form input:focus,
.quote-form textarea:focus,
.quote-form select:focus {


    outline:

    3px solid rgba(47,140,255,.35);


}





/* =========================================================
   FILE UPLOAD
========================================================= */


input[type="file"] {


    background:white;


    padding:12px;


}





/* =========================================================
   LOGIN PAGE
========================================================= */


.login-container {


    max-width:500px;


    margin:auto;


}



.login-card {


    background:white;


    padding:45px;


    border-radius:24px;


    box-shadow:

    0 15px 45px rgba(0,0,0,.12);


}





.login-card label {


    color:#222;


}





.login-card input {


    margin-bottom:15px;


}



.login-card .primary {


    margin-top:20px;


}





/* =========================================================
   FILE BUTTONS
========================================================= */


.file-button {


    display:inline-block;


    margin-top:10px;


    padding:

    10px 16px;


    background:#111827;


    color:white;


    border-radius:8px;


    font-size:.9rem;


}



.file-button:hover {


    opacity:.8;


}





/* =========================================================
   STATUS SELECT
========================================================= */


.status-select {


    padding:8px 12px;


    border-radius:8px;


    border:

    1px solid #ccc;


    cursor:pointer;


}





/* =========================================================
   RESPONSIVE INTERIOR PAGES
========================================================= */


@media(max-width:900px){



.page-header h1 {


    font-size:

    2.8rem;


}



.about-grid,
.contact-grid,
.gallery-grid,
.quote-choice-grid {


    grid-template-columns:

    1fr;


}



.quote-section {


    padding:

    30px 20px;


}



}

/* =========================================================
   ADMIN DASHBOARD
========================================================= */


.admin-tools {


    display:flex;


    gap:20px;


    margin-bottom:35px;


    flex-wrap:wrap;


}



.admin-tools input,
.admin-tools select {


    background:white;


    color:#222;


    padding:14px 18px;


    border-radius:12px;


    border:none;


    font-size:1rem;


}





/* =========================================================
   DASHBOARD STATS
========================================================= */


.dashboard-stats {


    display:grid;


    grid-template-columns:

    repeat(6,1fr);


    gap:20px;


    margin-bottom:40px;


}



.stat-card {


    background:

    var(--card);


    padding:25px;


    border-radius:18px;


    text-align:center;


    border:

    1px solid var(--border);


    transition:.25s;


}



.stat-card:hover {


    transform:

    translateY(-5px);


}



.stat-card h2 {


    color:

    var(--accent);


    font-size:2.4rem;


    margin-bottom:10px;


}



.stat-card p {


    color:#cbd5e1;


}







/* =========================================================
   QUOTE REQUEST GRID
========================================================= */


.quote-grid {


    display:grid;


    grid-template-columns:

    repeat(3,1fr);


    gap:25px;


}





.quote-card {


    background:

    var(--card);


    border-radius:18px;


    padding:25px;


    border:

    1px solid var(--border);


    transition:.3s;


}



.quote-card:hover {


    background:

    var(--card-hover);


    transform:

    translateY(-5px);


}



.quote-card h3 {


    color:white;


    margin-bottom:15px;


}



.quote-card p {


    color:#cbd5e1;


}





.quote-card .status-select {


    width:100%;


    margin-top:10px;


}





.view-button {


    margin-top:20px;


    background:

    var(--accent);


    color:white;


    border:none;


    padding:10px 18px;


    border-radius:10px;


    cursor:pointer;


}



.view-button:hover {


    background:

    var(--accent-light);


}





/* =========================================================
   DETAILS PANEL
========================================================= */


.details-panel {


    margin-top:50px;


}



.details-card {


    background:

    var(--card);


    padding:35px;


    border-radius:22px;


    border:

    1px solid var(--border);


}



.details-card h2 {


    color:white;


}



.details-card p {


    color:#cbd5e1;


}





.archive-button {


    margin-top:20px;


    background:#ef4444;


    color:white;


    border:none;


    padding:

    12px 22px;


    border-radius:10px;


    cursor:pointer;


}



.archive-button:hover {


    background:#dc2626;


}





/* =========================================================
   ANALYTICS DASHBOARD
========================================================= */


.analytics-card {

    background:#171c24;

    color:white;

    padding:35px;

    border-radius:22px;

    border:1px solid rgba(255,255,255,.08);

    margin-top:40px;

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

}



.analytics-card h2 {

    color:white;

    margin-bottom:20px;

}



.analytics-card p {

    color:#b8c4d3;

}





.analytics-number {

    font-size:3rem;

    font-family:"Space Grotesk";

    font-weight:700;

    color:#4b9eff;

}





.analytics-label {

    color:#9ca3af;

}





.analytics-stats {

    display:grid;

    grid-template-columns:
    repeat(4,1fr);

    gap:20px;

    margin-bottom:30px;

}





.analytics-stat {

    background:#202733;

    padding:25px;

    border-radius:16px;

    border:1px solid rgba(255,255,255,.08);

}



.analytics-stat h3 {

    color:#4b9eff;

    font-size:2rem;

}



.analytics-stat p {

    color:#cbd5e1;

}





#visitorChart {

    background:#202733;

    border-radius:15px;

    padding:15px;

}





/* =========================================================
   ADMIN LOGIN PAGE
========================================================= */


#loginForm {


    max-width:450px;


    margin:

    60px auto;


    background:

    var(--card);


    padding:40px;


    border-radius:22px;


    border:

    1px solid var(--border);


}



#loginForm label {


    color:white;


    margin-top:15px;


    display:block;


}



#loginForm input {


    margin-top:8px;


}





/* =========================================================
   TABLET
========================================================= */


@media(max-width:1100px){



.dashboard-stats {


    grid-template-columns:

    repeat(3,1fr);


}



.quote-grid {


    grid-template-columns:

    repeat(2,1fr);


}



.project-grid {


    grid-template-columns:

    repeat(2,1fr);


}



.process-grid {


    grid-template-columns:

    repeat(2,1fr);


}



}





/* =========================================================
   MOBILE
========================================================= */


@media(max-width:800px){



.nav {


    padding:

    15px 5%;


}



.menu-toggle {


    display:block;


}



.mobile-menu {


    position:absolute;


    top:85px;


    right:5%;


    display:none;


    flex-direction:column;


    background:#111827;


    padding:20px;


    border-radius:15px;


    width:240px;


    box-shadow:

    0 20px 50px rgba(0,0,0,.4);


}



.mobile-menu.open {


    display:flex;


}



.hero {


    grid-template-columns:

    1fr;


    padding-top:60px;


}



.hero h1 {


    font-size:

    3rem;


}



.cards,
.service-grid,
.about-grid,
.contact-grid,
.gallery-grid,
.quote-choice-grid {


    grid-template-columns:

    1fr;


}



.maker-container {


    grid-template-columns:

    1fr;


}



.process-grid {


    grid-template-columns:

    1fr;


}



.project-grid {


    grid-template-columns:

    1fr;


}



.footer-grid {


    grid-template-columns:

    1fr;


}



.dashboard-stats {


    grid-template-columns:

    repeat(2,1fr);


}



.quote-grid {


    grid-template-columns:

    1fr;


}



.admin-tools {


    flex-direction:column;


}



.page-header h1 {


    font-size:

    2.5rem;


}



}



@media(max-width:450px){



.dashboard-stats {


    grid-template-columns:

    1fr;


}



.brand h2 {


    font-size:

    1.1rem;


}



.brand p {


    display:none;


}



}

/* =====================================================
   ADMIN DASHBOARD
===================================================== */


.admin-page {

    padding:60px 0;

}



.dashboard-stats {

    display:grid;

    grid-template-columns:
    repeat(6,1fr);

    gap:20px;

    margin-bottom:40px;

}



.stat-card {

    background:#171c24;

    border:1px solid rgba(255,255,255,.08);

    padding:25px;

    border-radius:18px;

    text-align:center;

}



.stat-card h2 {

    color:#4b9eff;

    font-size:2.5rem;

}



.stat-card p {

    color:#cbd5e1;

}





.admin-toolbar {

    display:flex;

    gap:20px;

    margin-bottom:30px;

}



.admin-toolbar input,
.admin-toolbar select {

    padding:14px;

    border-radius:10px;

    border:none;

}







.admin-layout {

    display:grid;

    grid-template-columns:

    1fr 1.3fr;

    gap:30px;

}





.request-column,
.details-column {


    background:#171c24;

    padding:30px;

    border-radius:20px;

}



.quote-card {


    background:#202733;

    padding:20px;

    margin-bottom:15px;

    border-radius:14px;

    cursor:pointer;

    transition:.2s;


}



.quote-card:hover {

    transform:translateY(-3px);

}



.status-badge {


    display:inline-block;

    padding:5px 12px;

    border-radius:20px;

    background:#2f8cff;

    color:white;

    font-size:.85rem;

}





.details-card {


    background:#202733;

    padding:30px;

    border-radius:18px;


}



.details-card h3 {

    margin-top:25px;

}



.admin-actions {


    display:flex;

    gap:15px;

    margin-top:20px;


}



.archive-button {


    background:#ef4444;

    color:white;

    border:none;

    padding:14px 22px;

    border-radius:10px;

    cursor:pointer;

}







.analytics-card {


    margin-top:40px;

    background:#171c24;

    padding:35px;

    border-radius:20px;


}



.analytics-grid {


    display:grid;

    grid-template-columns:

    repeat(2,1fr);

    gap:20px;


}



.analytics-grid div {


    background:#202733;

    padding:25px;

    border-radius:15px;


}



.analytics-grid h3 {

    color:#4b9eff;

    font-size:2.5rem;

}





@media(max-width:900px){


.dashboard-stats {

grid-template-columns:
repeat(2,1fr);

}


.admin-layout {

grid-template-columns:1fr;

}


.admin-toolbar {

flex-direction:column;

}


}

/* =====================================================
   FINAL ADMIN ANALYTICS STYLING
===================================================== */


.analytics-card {

    background:var(--card);

    padding:35px;

    border-radius:22px;

    border:1px solid var(--border);

    margin-top:40px;

}



.analytics-grid {

    display:grid;

    grid-template-columns:
    repeat(4,1fr);

    gap:20px;

    margin-bottom:35px;

}



.analytics-stat {

    background:var(--card-hover);

    padding:25px;

    border-radius:16px;

    text-align:center;

    border:1px solid var(--border);

}



.analytics-stat h3 {

    color:var(--accent-light);

    font-size:2.5rem;

    margin-bottom:10px;

}



.analytics-stat p {

    color:#cbd5e1;

}





.chart-container {

    width:100%;

    height:350px;

    background:#111827;

    border-radius:18px;

    padding:20px;

    margin-bottom:35px;

}





.analytics-table {

    margin-top:30px;

}



.analytics-table table {

    width:100%;

    border-collapse:collapse;

    background:var(--card-hover);

    border-radius:15px;

    overflow:hidden;

}



.analytics-table th {

    text-align:left;

    padding:15px;

    background:#111827;

    color:white;

}



.analytics-table td {

    padding:15px;

    color:#cbd5e1;

    border-bottom:

    1px solid var(--border);

}



.analytics-table tr:hover {

    background:rgba(255,255,255,.05);

}





@media(max-width:900px){


.analytics-grid {

    grid-template-columns:

    repeat(2,1fr);

}


}



@media(max-width:500px){


.analytics-grid {

    grid-template-columns:

    1fr;

}


}

/* =====================================================
   ADMIN TOOLBAR FIX
===================================================== */


.admin-toolbar {

    display:flex;

    gap:20px;

    margin-bottom:35px;

    flex-wrap:wrap;

}


.admin-toolbar input,
.admin-toolbar select {

    background:white;

    color:#222;

    padding:14px 18px;

    border-radius:12px;

    border:none;

}

/* =====================================================
   ADMIN MOBILE RESPONSIVE FIX
===================================================== */


@media (max-width: 768px){



/* HEADER */

.nav{

display:flex;

flex-direction:column;

align-items:center;

padding:20px;

gap:20px;

}



.brand{

display:flex;

flex-direction:column;

align-items:center;

text-align:center;

}



.brand img{

width:90px;

height:90px;

}



.brand h2{

font-size:22px;

margin-top:10px;

}



.brand p{

font-size:14px;

}





.nav > div:last-child{

display:flex;

flex-direction:row;

gap:10px;

}





.nav button{

width:120px;

font-size:14px;

padding:12px;

}








/* PAGE TITLE */


.page-header{

padding:50px 30px;

text-align:left;

}



.page-header h1{

font-size:42px;

line-height:1.05;

}



.page-header p{

font-size:17px;

line-height:1.6;

}








/* STATUS CARDS */


.dashboard-stats{

display:grid;

grid-template-columns:1fr;

gap:15px;

padding:20px;

}



.stat-card{

width:100%;

min-height:130px;

}



.stat-card h2{

font-size:45px;

}







/* SEARCH */


.admin-toolbar{

display:flex;

flex-direction:column;

gap:15px;

padding:20px;

}



.admin-toolbar input,
.admin-toolbar select{

width:100%;

box-sizing:border-box;

}








/* REQUEST AREA */


.admin-layout{

display:flex;

flex-direction:column;

padding:20px;

gap:20px;

}



.request-column,
.details-column{

width:100%;

}









/* QUOTE CARDS */


.quote-card{

width:100%;

box-sizing:border-box;

}








/* ANALYTICS */


.analytics-card{

margin:20px;

padding:20px;

}



.analytics-grid{

display:grid;

grid-template-columns:1fr;

gap:15px;

}



.analytics-stat h3{

font-size:36px;

}






.chart-container{

width:100%;

overflow:hidden;

}



#visitorChart{

max-width:100%;

}






/* TABLE */

.analytics-card table{

width:100%;

font-size:14px;

}


.analytics-card th,
.analytics-card td{

padding:10px;

}






}

/* =====================================================
   ANALYTICS FINAL VISUAL FIX
   Overrides previous analytics styles only
===================================================== */


.analytics-card {
    width:100%;
    background:#171c24;
    padding:35px;
    border-radius:24px;
    border:1px solid rgba(255,255,255,.08);
    margin-top:40px;
    box-shadow:
    0 20px 50px rgba(0,0,0,.25);
}



.analytics-card h2 {
    font-size:28px;
    margin-bottom:30px;
}



/* TOP ANALYTICS CARDS */

.analytics-grid,
.analytics-stats {

    display:grid;

    grid-template-columns:
    repeat(4,1fr);

    gap:25px;

    margin-bottom:35px;

}



.analytics-stat {

    background:#202733;

    min-height:130px;

    padding:25px;

    border-radius:18px;

    border:
    1px solid rgba(255,255,255,.08);

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

}



.analytics-stat h3 {

    font-size:3rem;

    color:#4b9eff;

    margin-bottom:10px;

}



.analytics-stat p {

    color:#cbd5e1;

    font-size:1rem;

}






/* CHART AREA */


.chart-container {

    width:100%;

    height:420px;

    background:#111827;

    border-radius:20px;

    padding:25px;

    margin-bottom:40px;

}



#visitorChart {

    width:100% !important;

    height:100% !important;

}






/* POPULAR PAGES TABLE */


.analytics-table {

    margin-top:35px;

}



.analytics-table table {

    width:100%;

    border-collapse:collapse;

    overflow:hidden;

    border-radius:18px;

    background:#202733;

}



.analytics-table th {

    background:#111827;

    color:#4b9eff;

    text-align:left;

    padding:18px;

    font-size:1rem;

}



.analytics-table td {

    padding:16px 18px;

    color:#d1d9e6;

    border-bottom:

    1px solid rgba(255,255,255,.06);

}



.analytics-table tr:last-child td {

    border-bottom:none;

}



.analytics-table tr:hover {

    background:

    rgba(75,158,255,.08);

}






/* ==========================
   TABLET
========================== */


@media(max-width:1100px){


.analytics-grid,
.analytics-stats {

    grid-template-columns:
    repeat(2,1fr);

}


}






/* ==========================
   MOBILE ONLY
========================== */


@media(max-width:768px){


.analytics-card {

    margin:20px;

    padding:20px;

}


.analytics-grid,
.analytics-stats {

    grid-template-columns:1fr;

}



.analytics-stat h3 {

    font-size:2.2rem;

}



.chart-container {

    height:300px;

    padding:10px;

}



.analytics-table {

    overflow-x:auto;

}



.analytics-table table {

    min-width:500px;

}


}

/* =====================================================
   PROFESSIONAL ANALYTICS DASHBOARD REDESIGN
===================================================== */


.analytics-card {

    background:
    linear-gradient(
        145deg,
        #171c24,
        #111827
    );

    padding:35px;

    border-radius:24px;

    border:1px solid rgba(255,255,255,.08);

    margin-top:40px;

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

}



/* Title */

.analytics-card > h2 {

    font-size:28px;

    margin-bottom:30px;

    letter-spacing:.5px;

}





/* TOP STAT CARDS */

.analytics-grid,
.analytics-stats {

    display:grid;

    grid-template-columns:
    repeat(4,1fr);

    gap:25px;

    margin-bottom:35px;

}



.analytics-stat {

    height:150px;

    background:

    rgba(32,39,51,.85);

    border-radius:20px;

    border:

    1px solid rgba(255,255,255,.08);


    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;


    transition:.25s;

}



.analytics-stat:hover {

    transform:translateY(-5px);

    border-color:#2f8cff;

}





.analytics-stat h3 {

    font-size:2.6rem;

    color:#4b9eff;

    margin-bottom:12px;

}



.analytics-stat p {

    color:#cbd5e1;

    font-size:1rem;

}







/* CHART SECTION */

.chart-container {

    width:100%;

    height:420px;

    display:flex;

    justify-content:center;

    align-items:center;


    background:

    #111827;


    border-radius:22px;


    padding:25px;


    margin-bottom:35px;

}



.chart-container canvas {

    max-height:340px !important;

    width:100% !important;

}







/* POPULAR PAGES */


.analytics-table {

    background:#111827;

    padding:25px;

    border-radius:20px;

}



.analytics-table h3 {

    margin-bottom:20px;

}



.analytics-table table {

    width:100%;

    border-collapse:collapse;

}



.analytics-table th {

    background:#202733;

    color:#4b9eff;

    padding:15px;

}



.analytics-table td {

    padding:15px;

    color:#d1d9e6;

    border-bottom:

    1px solid rgba(255,255,255,.06);

}



.analytics-table tr:hover {

    background:

    rgba(47,140,255,.08);

}






/* =====================================================
   DESKTOP IMPROVEMENT
===================================================== */


@media(min-width:1200px){


.analytics-card {

    max-width:1400px;

    margin-left:auto;

    margin-right:auto;

}



.chart-container {

    height:380px;

}



}







/* =====================================================
   TABLET
===================================================== */


@media(max-width:1000px){


.analytics-grid,
.analytics-stats {

    grid-template-columns:
    repeat(2,1fr);

}


}






/* =====================================================
   MOBILE
===================================================== */


@media(max-width:600px){


.analytics-card {

    padding:20px;

}



.analytics-grid,
.analytics-stats {

    grid-template-columns:1fr;

}



.chart-container {

    height:280px;

    padding:10px;

}


}

/* =====================================
   ADMIN EDIT FIELDS
===================================== */


.details-card input,
.details-card textarea{

    width:100%;

    margin-top:10px;

    padding:14px;

    border-radius:12px;

    border:none;

    background:white;

    color:#222;

    font-family:"Inter",sans-serif;

    font-size:1rem;

}


.details-card textarea{

    resize:vertical;

    min-height:120px;

}



.details-card label{

    display:block;

    margin-top:20px;

    color:#cbd5e1;

    font-weight:600;

}


.details-card .primary{

    margin-top:20px;

}

/* =====================================================
   PLASTICBLOCKS3D ADMIN WORKSHOP THEME
   FINAL OVERRIDES
===================================================== */


/* ADMIN PAGE BACKGROUND */

.admin-page {

    padding:70px 6%;

}





/* HEADER BUTTON AREA */

.nav > div:last-child {

    display:flex;

    gap:15px;

    align-items:center;

}





.nav button {

    min-width:120px;

}





/* STATUS CARDS */

.filter-card {

    cursor:pointer;

    position:relative;

    overflow:hidden;

}



.filter-card::before {

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:4px;

    background:#2f8cff;

}



.filter-card:hover {

    border-color:#2f8cff;

    box-shadow:

    0 15px 40px rgba(47,140,255,.18);

}



.filter-card h2 {

    font-size:3rem;

}





/* REQUEST + DETAILS PANELS */


.request-column,
.details-column {


    background:

    linear-gradient(

    145deg,

    #171c24,

    #111827

    );


    border:

    1px solid rgba(255,255,255,.08);


    box-shadow:

    0 20px 50px rgba(0,0,0,.25);


}





.request-column > h2,
.details-column > h2 {


    color:white;

    margin-bottom:25px;

    font-size:1.8rem;

}





/* QUOTE CARDS */


.quote-card {


    border-left:

    4px solid #2f8cff;


}



.quote-card:hover {


    border-left-color:#4b9eff;


}





.quote-card h3 {


    font-size:1.3rem;


}





.status-badge {


    margin-top:15px;


    background:

    rgba(47,140,255,.18);


    color:#7db8ff;


    border:

    1px solid rgba(47,140,255,.3);


}







/* DETAILS PANEL */


.details-card {


    background:

    linear-gradient(

    145deg,

    #202733,

    #171c24

    );


}





.details-card h2 {


    color:#4b9eff;

    font-size:2rem;


}





.details-card h3 {


    color:white;

    border-bottom:

    1px solid rgba(255,255,255,.08);


    padding-bottom:10px;


}





.details-card strong {


    color:white;


}





.details-card input,
.details-card textarea,
.details-card select {


    background:#0d1117;


    color:white;


    border:

    1px solid rgba(255,255,255,.12);


}





.details-card input:focus,
.details-card textarea:focus,
.details-card select:focus {


    outline:

    2px solid #2f8cff;


}







/* ACTION BUTTON AREA */


.details-card button {


    margin-right:10px;


}





.archive-button {


    background:#ef4444;


}





.archive-button:hover {


    background:#dc2626;


}





/* FILE BUTTONS */


.file-button {


    background:

    rgba(47,140,255,.18);


    border:

    1px solid rgba(47,140,255,.35);


    color:#8ec5ff;


}



.file-button:hover {


    background:#2f8cff;


    color:white;


}







/* SEARCH BAR */


.admin-toolbar input,
.admin-toolbar select {


    background:#171c24;


    color:white;


    border:

    1px solid rgba(255,255,255,.1);


}



.admin-toolbar input::placeholder {


    color:#94a3b8;


}







/* ANALYTICS WORKSHOP LOOK */


.analytics-card {


    background:

    linear-gradient(

    145deg,

    #171c24,

    #0d1117

    );


}





.analytics-stat {


    background:

    linear-gradient(

    145deg,

    #202733,

    #171c24

    );


}





.analytics-stat:hover {


    border-color:#2f8cff;


    transform:

    translateY(-6px);


}





/* TABLE */

.analytics-card table {


    border-radius:16px;


    overflow:hidden;


}





.analytics-card th {


    color:#4b9eff;


}





.analytics-card tr:hover {


    background:

    rgba(47,140,255,.08);


}







/* MOBILE ADMIN BUTTONS */


@media(max-width:768px){



.nav > div:last-child {


    width:100%;


    justify-content:center;


}



.nav button {


    flex:1;


}




}

/* =====================================================
   ADMIN REFRESH BUTTON FIX
===================================================== */


.nav .secondary {

    background:#171c24;

    color:white;

    border:

    2px solid #2f8cff;

    box-shadow:

    0 8px 25px rgba(47,140,255,.15);

}



.nav .secondary:hover {

    background:#2f8cff;

    color:white;

    transform:translateY(-3px);

    box-shadow:

    0 15px 35px rgba(47,140,255,.35);

}

/* =====================================================
   STATUS COLOR SYSTEM
===================================================== */


/* NEW */

.stat-card[data-status="New"]::before {

    background:#2f8cff;

}


.stat-card[data-status="New"] h2 {

    color:#4b9eff;

}






/* REVIEWING */

.stat-card[data-status="Reviewing"]::before {

    background:#facc15;

}


.stat-card[data-status="Reviewing"] h2 {

    color:#facc15;

}






/* QUOTED */

.stat-card[data-status="Quoted"]::before {

    background:#a855f7;

}


.stat-card[data-status="Quoted"] h2 {

    color:#c084fc;

}






/* PRINTING */

.stat-card[data-status="Printing"]::before {

    background:#f97316;

}


.stat-card[data-status="Printing"] h2 {

    color:#fb923c;

}






/* COMPLETED */

.stat-card[data-status="Completed"]::before {

    background:#22c55e;

}


.stat-card[data-status="Completed"] h2 {

    color:#4ade80;

}






/* ARCHIVED */

.stat-card[data-status="Archived"]::before {

    background:#64748b;

}


.stat-card[data-status="Archived"] h2 {

    color:#94a3b8;

}







/* STATUS CARD GLOW */


.stat-card:hover {


    box-shadow:

    0 15px 40px rgba(47,140,255,.18);


}

/* =============================
   QUOTE ID DISPLAY
============================= */


.quote-id-box {


background:

rgba(47,140,255,.12);


border:

1px solid rgba(47,140,255,.35);


padding:20px;


border-radius:15px;


margin:25px 0;


}



.quote-id-box span {


font-size:1.5rem;


font-weight:700;


color:#4b9eff;


letter-spacing:1px;


}

/* =============================
   PROJECT TIMELINE
============================= */


#projectTimeline{

position:relative;

margin-top:30px;

padding-left:25px;

}



.timeline-step{

display:flex;

position:relative;

padding-bottom:30px;

}



.timeline-step:not(:last-child)::before{

content:"";

position:absolute;

left:10px;

top:24px;

height:calc(100% - 5px);

width:2px;

background:rgba(255,255,255,.15);

}



.timeline-dot{

width:22px;

height:22px;

border-radius:50%;

display:flex;

align-items:center;

justify-content:center;

font-size:.8rem;

font-weight:bold;

margin-right:20px;

background:#2f8cff;

color:white;

z-index:2;

}



.timeline-content{

background:rgba(255,255,255,.05);

padding:15px 20px;

border-radius:14px;

flex:1;

}



.timeline-content h4{

margin:0 0 8px;

font-size:1.1rem;

}



.timeline-content p{

margin:0;

opacity:.8;

}



.timeline-content span{

display:block;

margin-top:8px;

font-size:.9rem;

opacity:.6;

}




.timeline-step.current .timeline-content{

border:1px solid rgba(47,140,255,.5);

background:rgba(47,140,255,.12);

}



.timeline-step.current .timeline-dot{

transform:scale(1.15);

}

/* =================================
   PRIMARY BUTTON FIX
================================= */


.primary{

display:inline-block;

background:#ffffff;

color:#111111 !important;

padding:12px 24px;

border-radius:10px;

font-weight:600;

text-decoration:none;

border:2px solid #ffffff;

transition:.25s ease;

cursor:pointer;

}



.primary:hover{

background:transparent;

color:#ffffff !important;

border-color:#ffffff;

}

/* =================================
   PRIMARY BUTTON TEXT FIX
================================= */


.primary{

background:#2f8cff;

color:#000000 !important;

border:2px solid #2f8cff;

padding:12px 24px;

border-radius:10px;

font-weight:700;

text-decoration:none;

display:inline-block;

transition:.25s ease;

cursor:pointer;

}



.primary:hover{

background:#4aa0ff;

color:#000000 !important;

border-color:#4aa0ff;

}

/* =================================
   CONTACT CARD ENHANCEMENT
================================= */


.contact-card{

background:rgba(255,255,255,0.06);

border:1px solid rgba(255,255,255,0.12);

border-radius:18px;

padding:30px;

box-shadow:

0 10px 30px rgba(0,0,0,0.35),

0 0 20px rgba(47,140,255,0.08);

transition:transform .25s ease, box-shadow .25s ease;

}



.contact-card:hover{

transform:translateY(-6px);

box-shadow:

0 15px 40px rgba(0,0,0,0.45),

0 0 30px rgba(47,140,255,0.18);

}

/* =====================================
   PROJECT TRACKING TIMELINE
===================================== */


.timeline-step {

    display:flex;

    gap:25px;

    position:relative;

    padding:20px 0;

}



.timeline-step:not(:last-child)::after{

    content:"";

    position:absolute;

    left:12px;

    top:45px;

    width:2px;

    height:60px;

    background:#d1d5db;

}





.timeline-dot{

    width:24px;

    height:24px;

    border-radius:50%;

    background:#d1d5db;

    color:white;

    display:flex;

    align-items:center;

    justify-content:center;

    font-weight:bold;

    flex-shrink:0;

}





/* COMPLETED STEPS */

.timeline-step.complete .timeline-dot{

    background:#2f8cff;

}





.timeline-step.complete .timeline-content h4{

    color:#222;

}





/* CURRENT STEP */

.timeline-step.current{

    background:#dbeafe;

    border:1px solid #2f8cff;

    border-radius:12px;

    padding:20px;

}



.timeline-step.current .timeline-dot{

    background:#2f8cff;

    box-shadow:

    0 0 15px rgba(47,140,255,.7);

}





/* FUTURE STEPS */

.timeline-step.upcoming .timeline-dot{

    background:#d1d5db;

}



.timeline-step.upcoming .timeline-content{

    opacity:.45;

}



.timeline-content h4{

    margin-bottom:8px;

}



.timeline-content p{

    color:#64748b;

}



.timeline-content span{

    color:#94a3b8;

    font-size:.9rem;

}

/* =====================================
   PROJECT TIMELINE TEXT VISIBILITY FIX
===================================== */


/* Completed steps stay fully visible */

.timeline-step.complete .timeline-content {

    opacity:1;

}


.timeline-step.complete .timeline-content h4 {

    color:#1f2937;

    font-weight:700;

}


.timeline-step.complete .timeline-content p {

    color:#64748b;

}


.timeline-step.complete .timeline-content span {

    color:#94a3b8;

}





/* Current step */

.timeline-step.current .timeline-content h4 {

    color:#111827;

    font-weight:700;

}


.timeline-step.current .timeline-content p {

    color:#475569;

}





/* Future steps are the only faded ones */

.timeline-step.upcoming .timeline-content {

    opacity:.45;

}


.timeline-step.upcoming .timeline-content h4 {

    color:#64748b;

}