:root {
    --ui-blue: #2563eb;
    --ui-blue-hover: #1d4ed8;

    --run-btn: #ff7d38;
    --run-btn-hover: #ff975f;
    --run-btn-border: #ff6d1f;


    --numarea-bg: #92969b;
    /* --numarea-bg: #dfe5eb; */

    --inner_side: #e3e5e6;
    /* --inner_side: #f1f4f7; */
    
    --ui-bg: #f4f6f9;
    --ui-panel: #eef2f6;


    --ui-border: #d7dde5;
    --ui-border-soft: #e5e7eb;
    --ui-border-grid: #cecfd3;


    --outline-btn-text: #15171a;
    --outline-btn: #c2c6ca;
    /* --outline-btn: #939da7; */



    --ui-divline: #b9bbc0;

    --ui-text: #222;
    --ui-muted: #666;

    --ui-radius: 10px;

    --ui-shadow:
        0 2px 8px rgba(0,0,0,0.05);

    --ui-shadow-hover:
        0 6px 18px rgba(0,0,0,0.08);
}


* {
    margin: 0;
    padding: 0;
}
  
  
* {
    box-sizing: border-box;
}


html {
   font-family: sans-serif;
   font-weight: 300;
   /* font-family: Arial, Helvetica, sans-serif;  */
   height: -webkit-fill-available;
   min-height: 100vh;
   min-height: 100dvh;
   font-size: 16px;
}


body {
    margin: 0 auto;
    height: 100%;
    width: 100%;
    background-color: rgb(237, 239, 240);
}

a {
    text-decoration: none;
    color: rgb(55, 59, 61);
}


/* ----------------------------------------------------------------- */
/* header */



/* Header Bar */
.header_sec {
    min-height: 42px;
    padding: 8px 13px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    /* background-color: rgb(0, 89, 172); */
    background:
        linear-gradient(
            135deg,
            #2563eb 0%,
            #4f46e5 100%
        );
    box-sizing: border-box;
}

.Logo-container {
    display: flex;
    align-items: center;
}


/* Left + Right sections */
.acc-container {
    display: flex;
    align-items: center;
}

/* Push right container fully right */
.acc-container:last-child {
    margin-left: auto;
}


.menu-container {
    margin-left: 20px;
}

.menu-container ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Style the menu link */
.menu-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 14.5px;
}

/* Optional: keep it white on hover too */
.menu-link:hover {
    color: white;
    text-decoration: none;
}

.header-logo {
    height: 20px;
    width: auto;
    display: block;
}

#creditsleft {
    color: white;
    font-size: 14.5px;
}



/* ----------------------------------------------------------------- */
/* footer */

.footer_sec {
    background-color: rgb(101, 110, 122);
    min-height: 31px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}


.footer-menu-container ul {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;

    list-style: none;
    margin: 0;
    padding: 3px;
    margin-left: 12px;
}


.footer-menu-link {
    color: rgb(212, 214, 216);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
}

.footer-menu-link:hover {
    color: white;
    text-decoration: none;
}

.footer-legal {
    margin-left: auto;
    margin-right: 12px;

    color: rgb(198, 201, 204);
    font-size: 13px;
      white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
}


/* ----------------------------------------------------------------- */
/* home */


.landing-hero {
    max-width: 1200px;

    margin: 0 auto;

    padding-top: 30px;
    padding-bottom: 30px;
}


.landing-hero h1 {
    margin-top: 0;
    margin-bottom: 14px;

    font-size: 42px;
    font-weight: 700;
    line-height: 1.1;

    color: #1f2937;
}


.landing-subtitle {
    max-width: 760px;

    margin-bottom: 34px;

    font-size: 18px;
    line-height: 1.7;

    color: #5d6674;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
}


.feature-tile {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
    align-items: center;
    text-decoration: none;
    border-radius: 28px;
    padding: 42px;
    background:
        linear-gradient(
            135deg,
            #2563eb 0%,
            #46c0e5 100%
        );


    box-shadow:
        0 18px 50px rgba(37,99,235,0.20);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.feature-tile:hover {
    transform: translateY(-3px);
    box-shadow:
        0 24px 60px rgba(37,99,235,0.28);
}


.feature-tile::before {
    content: '';
    position: absolute;

    top: -120px;
    right: -120px;

    width: 320px;
    height: 320px;

    border-radius: 50%;

    background: rgba(255,255,255,0.08);
}


.feature-content {
    position: relative;

    /* z-index: 2; */

    min-width: 0;
    width: 100%;
}


.feature-badge {
    display: inline-flex;

    align-items: center;

    height: 34px;

    padding-left: 14px;
    padding-right: 14px;

    margin-bottom: 18px;

    border-radius: 999px;

    background: rgba(255,255,255,0.16);

    color: white;

    font-size: 13px;
    font-weight: 600;
}


.feature-content h2 {
    margin-top: 0;
    margin-bottom: 18px;

    font-size: 38px;
    font-weight: 700;
    line-height: 1.1;

    color: white;

    overflow-wrap: anywhere;
}


.feature-content p {
    margin-bottom: 24px;

    font-size: 16px;
    line-height: 1.8;

    color: rgba(255,255,255,0.92);

    white-space: normal;

    overflow-wrap: anywhere;

    max-width: 100%;
}


.feature-points {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 12px;

    padding: 0;
    margin: 0 0 30px 0;

    list-style: none;
}


.feature-points li {
    display: flex;

    align-items: center;

    min-height: 46px;

    padding-left: 14px;
    padding-right: 14px;

    border-radius: 12px;

    background: rgba(255,255,255,0.12);

    color: white;

    font-size: 14px;
    font-weight: 500;
}


.feature-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 190px;
    height: 52px;
    padding-left: 22px;
    padding-right: 22px;

    border-radius: 14px;
    background: white;
    color: #2563eb;
    font-size: 15px;
    font-weight: 700;

    box-shadow:
        0 8px 24px rgba(0,0,0,0.14);
}


.feature-image-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}


.hoodie-preview {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1 / 1;

    border-radius: 28px;
    background:
        linear-gradient(
            180deg,
            #1a3050 0%,
            #071229 100%
        );

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.08),
        0 18px 40px rgba(0,0,0,0.25);

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}





.hoodie-design {
    position: relative;

    /* z-index: 2; */

    width: 100%;
    max-width: 280px;

    object-fit: contain;

    filter:
        drop-shadow(0 8px 20px rgba(0,0,0,0.22));
}

/* ----------------------------------------------------------------- */
/* my account */

.loginmyaccount {
    background: transparent;
    color: white;

    border: 1px solid rgba(255,255,255,0.9);
    border-radius: 6px;

    padding: 6px 12px;

    margin-left: 8px;

    font-size: 13px;
    font-weight: 400;

    cursor: pointer;

    transition: all 0.2s ease;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 110px;
    height: 24px;
}

/* Hover Effect */
.loginmyaccount:hover {
    background: white;
    color: #1e2d35;

    transform: translateY(-1px);
}

/* Click Effect */
.loginmyaccount:active {
    transform: scale(0.98);
}

#logoutheaderbtn {
    padding: 9px 18px;
    min-width: 140px;
    border-radius: 10px;
    font-size: 14px;

    margin-top: 10px;
}




/* ----------------------------------------------------------------- */
/* boxs for page layout */



.pages-main {
    margin: 0 auto;
    width: 100%; 
    height: 100%;
    display: flex;
    justify-content: center;
}


.page_container {
    background: var(--ui-bg);
    display: flex;
    flex-direction: column;
    
    width: 100%;
    height: 100%;
}




.page_sec {
    background: var(--ui-bg);
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
}



.inner_num {
    display: flex;
    flex-direction: column;

    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
    /* these mean the element can grow if there is space or shrink if there is space*/
    /* this means ignore the hardcoded size given in the css and just grow from a starting
    point of 0, otherwise it would grow from the hardcoded size specified in the css*/

    min-height: 0px;
    /* this is specified so that it can go all the way to 0*/
    /* height: 100%; */
    
    /* background: var(--numarea-bg); */
    background:
        linear-gradient(
            180deg,
            #727c8a 0%,
            rgb(105, 116, 139) 100%
        );

    height: 100%;
}


.the_num_container {
    display: flex;
    align-self: center;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
    /* width: 40%; */
    height: 100%;
    /* max-height: 80%; */
    /* background-color: rgb(84, 30, 105); */
}




/* ----------------------------------------------------------------- */
/* boxs for page layout */

.top_spacer_bar {
    display: flex;
    width: 100%;
    height: 5%;
    min-height: 10px;
}



.top_bar_container {
    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    gap: 6px;
    align-items: center;

    width: 100%;

    padding-top: 6px;
    padding-left: 6px;
    padding-right: 6px;

    gap: 8px;

    min-height: 25px;
}


.nextback {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    grid-column: 2;
}

.nextbackbtn {
    color: var(--outline-btn-text);
}

.nextbackbtn:hover{
    border-color: #ffffff;
    color: #ffffff;
    background: transparent !important;
}


.top_bar_view {
    grid-column: 3;
    justify-self: end;
    display: flex;
    gap: 6px;
}


#batchnum {
  margin: 0;
  font-size: 15px;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  line-height: 1.05em;
}

.nextbackbtn {
  background: none;
  border: 1px solid var(--outline-btn);
}




/* Right Buttons */
#viewsingle,
#viewmulti {
    width: 60px;
    background: transparent !important;
    color: var(--outline-btn-text);
    /* color: #444; */
    border: 1px solid var(--outline-btn);
    box-shadow: none;

    font-weight: 500;
}




/* Hover */
#viewsingle:hover,
#viewmulti:hover {

    border-color: #ffffff;
    color: #ffffff;
    background: transparent !important;
}


/* Selected */
#viewsingle[style*="background-color: grey"],
#viewmulti[style*="background-color: grey"] {

    background: transparent !important;

    color: #ffffff !important;

    border-color: #ffffff;

    box-shadow: none;
}





/* ----------------------------------------------------------------- */
/* bottom bar */


.low_spacer_bar {
    display: flex;
    width: 100%;
    min-height: 10px;
}

.warningnotecont {
  background: #d32f2f;
  padding: 7px 19px;
  border-radius: 6px;
  text-align: center;
  margin: 0 auto;
}

.warningnote {
  color: white;
  margin: 0;
  font-weight: 500;
  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;

  font-size: 16px;
}


.low_bar_container {
    background: rgb(193, 196, 197);
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
    gap: 6px;

    display: flex;
    width: 100%;
    min-height: 25px;
}




/* ----------------------------------------------------------------- */
/* number area */


.the_resp_container {
    width: 100%;
    height: 95%;
    /* ???? probably change the height, look at how it works with the extra bits top and bottom
    like variable data and word Leavers etc */

}


.thesvg {
    width: 100%;
    height: 100%;
}


.inner_sidebar {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;

    background: var(--inner_side);
    border-left: 1px solid var(--ui-border-soft);
    padding: 14px;
    overflow-y: auto;
    

    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 0;

    min-width: 550px;



}


#tab-main-btn,
#tab-vd-btn,
#tab-template-btn,
#tab-designs-btn,
#tab-canvas-btn {
    flex: 1;
    min-width: 0;
    background: white;
    color: #444;
    border: 1px solid var(--ui-border-soft);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 6px 6px;

    margin-right: 2px;
    margin-bottom: 0px;
    font-size: 13px;
    font-weight: 600;

    text-align: center;
    box-shadow: none;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease;
}


/* Remove last gap */
#tab-canvas-btn {
    margin-right: 0;
}


/* Hover */
#tab-main-btn:hover,
#tab-vd-btn:hover,
#tab-template-btn:hover,
#tab-designs-btn:hover,
#tab-canvas-btn:hover {
    background: #f8fafc;
    border-color: #cfd7e2;
    color: #222;
}


/* Active */
#tab-main-btn[style*="background-color: grey"],
#tab-vd-btn[style*="background-color: grey"],
#tab-template-btn[style*="background-color: grey"],
#tab-designs-btn[style*="background-color: grey"],
#tab-canvas-btn[style*="background-color: grey"] {
    background: var(--ui-blue) !important;
    color: white !important;
    border-color: var(--ui-blue);
    box-shadow:
        0 4px 12px rgba(37,99,235,0.18);
}






.tab {
    width: 100%;
}


.tab-show {
    display: block;
}

.tab-hide {
    display: none;
}




.loadingcont {
    margin-top: 2px;
    margin-left: 10px;
}





/* ----------------------------------------------------------------- */
/* input boxes */

input[type="number"],
input[type="text"],
select,
textarea {
    background: white;

    border: 1px solid var(--ui-border-soft);

    border-radius: 8px;

    padding: 8px 10px;

    font-size: 13px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


input:focus,
select:focus,
textarea:focus {
    outline: none;

    border-color: var(--ui-blue);

    box-shadow:
        0 0 0 4px rgba(37,99,235,0.12);
}



/* ----------------------------------------------------------------- */
/* grid */

#inputgrid {

  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--ui-border-grid);
  background: white;
  /* box-shadow: var(--ui-shadow); */
  margin-bottom: 16px;


  width: 100%;
  display: grid;
  grid-template-columns: 2fr 2fr 2fr 1.1fr;
  max-height: 220px;
  overflow-y: auto;
  /* overflow-x: hidden; */
}

.cell,
.headercell {
    border-right: 1px solid var(--ui-border-grid);
    border-bottom: 1px solid var(--ui-border-grid);
}

.cell:nth-child(4n),
.headercell:nth-child(4n) {
    border-right: none;
}

#inputgrid > *:nth-last-child(-n + 4) {
    border-bottom: none;
}


.cell {
  background: white;
  transition: background 0.15s ease;

  /* border: 1px solid #ddd; */
  padding-left: 2px;
  padding-right: 1px;
  padding-top: 1px;
  padding-bottom: 1px;
  outline: none;
  user-select: none;
  min-height: 20px;
  max-height: 20px;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: none;
  font-family: Arial; 
  /* font-family: sans-serif; */
  font-weight: 100;
  font-size: 15px;
}
/* this is the css property for the text in the grid cells */



.cell::-webkit-scrollbar {
  display: none;
}


.cell:hover {
    background: #f7faff;
}

.cell.selectedCell {
    background: #dcebff;
}


.headercell {
  background: var(--ui-blue);
  color: white;
  padding: 4px;
  min-height: 10px;
  outline: none;
  user-select: none;
  min-height: 40px;
  max-height: 40px;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: wrap;
  scrollbar-width: none;

  font-size: 14.3px;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  line-height: 1.05em;
}





/* ----------------------------------------------------------------- */
/* design picker */

.design-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 7px;
  max-height: 60px;
  overflow-y: auto;
  margin-bottom: 8px;
}


.outer-design,
.outer-bg {
    border-radius: 6px;
    background: white;
    border: 2px solid var(--ui-border-soft);
    overflow: hidden;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;

    box-shadow:
        0 1px 3px rgba(0,0,0,0.04);


    padding: 2px;
    cursor: pointer;
}


.outer-design:hover,
.outer-bg:hover {
    transform: translateY(-2px);
    border-color: #bfd3ff;
    box-shadow: var(--ui-shadow-hover);
}


.outer-design.desselected,
.outer-bg.bgselected {
    border-color: var(--ui-blue);
    box-shadow:
        0 0 0 4px rgba(37,99,235,0.12);
}


.outer-design img,
.outer-bg img {
    display: block;
    width: 100%;
}


.bg-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 7px;
  max-height: 70px;
  overflow-y: auto;
  margin-bottom: 8px;
}



.outer-bg:hover {
  border-color: #999;
}

.outer-bg.bgselected {
  border-color: #273c9c;
}


/* Scrollbars */
/* ------------------------------------------------ */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cfd6de;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b7c0ca;
}


/* ----------------------------------------------------------------- */
/* elements related to the main function*/

.the_main_container {

    position: absolute;
    display: none;
}


.thetwo_container {
    position: absolute;
    margin-top: 0px;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.div_container {
    width: 100%;
    height: 100%;
}

.container {
    position: absolute;
    white-space: nowrap;
    display: flex;
    align-items: flex-end;
}


/* ----------------------------------------------------------------- */
/* Names and related elements*/

/* .thing {
    background-color: blueviolet;
    position: absolute;
    white-space: nowrap;
    display: flex;
    align-items: flex-end;
    z-index: 1;
    opacity: 0.3;
    width: 100px;
    height: 50px;
    top: 50px;
    left: 85.4px;
} */



.dud {
    display: none;
}



p {
    color: black;
    white-space: nowrap;
    display: flex;
    justify-content: space-between;
}





/* ----------------------------------------------------------------- */
/* Buttons */


button {
    border: 1px solid var(--ui-border);
    background: white;
    color: var(--ui-text);
    border-radius: 6px;
    padding: 4px 14px;

    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease;

    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

button:hover {
    background: #fafbfc;
    border-color: #c4ccd6;
    transform: translateY(-1px);
    box-shadow: var(--ui-shadow);
}

button:active {
    transform: scale(0.985);
}

button[style*="background-color: grey"] {
    background: var(--ui-blue) !important;
    color: white !important;

    border-color: var(--ui-blue);

    box-shadow:
        0 4px 12px rgba(37,99,235,0.18);
}



/* ----------------------------------------------------------------- */
/* main buttons */

#main-btn-sec {

    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    gap: 12px;


}


.runmain,
#downloadwin,
#download-button {
    min-width: 140px;
    height: 32px;

    padding: 0 18px;

    border-radius: 6px;

    font-size: 14px;
    font-weight: 600;

    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease;
}


/* Run Button */
.runmain {
    background: var(--run-btn);
    border: 1px solid var(--run-btn-border);
    color: white;
    box-shadow:
        0 4px 12px rgba(255,143,77,0.22);
}

.runmain:hover {
    background: var(--run-btn-hover);
    border-color: var(--run-btn-border);
}



/* Download Button */
#download-button,
#downloadwin {
    background: var(--ui-blue);
    border: 1px solid var(--ui-blue);
    color: white;
    box-shadow:
        0 4px 12px rgba(37,99,235,0.18);
}

/* Download Hover */
#download-button:hover {
    background: var(--ui-blue-hover);
}

#downloadwin:hover {
    background: var(--ui-blue-hover);
}

/* ----------------------------------------------------------------- */


.divline {
    height: 1px;
    background: var(--ui-divline);
    margin-top: 8px;
    margin-bottom: 16px;
    width: 100%;
}


#tabdivline {
    height: 1px;
    background: var(--ui-divline);
    margin-top: 0px;
    margin-bottom: 8px;

    width: 100%;
}



.counterval {
    margin-left: 20px;
    font-size: 12px;
}


#exNamesButton {
    background-color: rgb(214, 230, 247);
}

#autogap {
    margin-left: 10px;
}





label {
    color: var(--ui-muted);

    font-size: 13px;

    margin-left: 8px;
    margin-right: 6px;
}


/* textarea {
    outline: none;
    padding: 4px;
    margin-left: 10px;
} */

/* ----------------------------------------------------------------- */
/* colour pickers */


input[type="color"] {
    width: 42px;
    height: 34px;

    padding: 2px;

    border-radius: 8px;

    border: 1px solid var(--ui-border-soft);

    background: white;
}




/* ----------------------------------------------------------------- */
/* pop up overlay account */



.popoverlay {
    background-color: rgb(30, 45, 53, 0.9);
    
    width: 100%;
    height: 100%;

    /* min-height: 1px;
    min-width: 1px; */

    position: fixed;
    inset: 0;

    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;


    font-family: Arial, sans-serif;
    /* background: #f4f6f9; */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 90;
}



.signinwin {
    background: white;
    opacity: 1;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    text-align: center;
    width: 420px;
    position: relative;
    z-index: 99;
}

/* Heading */
.signinwin h2 {
    margin-top: 0;
    margin-bottom: 8px;
    color: #222;
    font-size: 28px;
}

.subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 15px;
    display: block;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}


#accountcreatedtext {
    color: rgb(16, 158, 123);
}


/* Inputs */
.signinwin input[type="email"],
.signinwin input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 18px;
    border: 1px solid #dcdfe4;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
    transition: all 0.2s ease;
    background: #fafafa;
}

/* Input focus */
.signinwin input:focus {
    outline: none;
    border-color: var(--ui-blue);
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

/* Base button */
.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s ease;
    margin-top: 10px;
}

/* Primary button */
.primary-btn {
    background: var(--ui-blue);
    color: white;
}

.primary-btn:hover {
    background: var(--ui-blue-hover);
}

/* Secondary button */
.secondary-btn {
    background: #e5e7eb;
    color: #333;
}

.secondary-btn:hover {
    background: #d1d5db;
}



.close-btn {
    position: absolute;
    top: 14px;
    right: 14px;

    width: 34px;
    height: 34px;

    border: none;
    border-radius: 50%;

    background: #f3f4f6;
    color: #555;

    font-size: 22px;
    line-height: 1;

    cursor: pointer;

    transition: all 0.2s ease;
}

.close-btn:hover {
    background: #e5e7eb;
    color: #111;
    transform: scale(1.05);
}




#forgotpassword {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    color: rgb(23, 23, 48);
    font-size: 13px;
}



/*------------------------------------------*/
/* Payment Window */
.paywin {
    background: white;
    padding-left: 70px;
    padding-right: 70px;
    padding-top: 20px;
    padding-bottom: 40px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);

    width: 600px;
    max-height: 85vh;
    overflow-y: auto;

    animation: popup 0.25s ease;

    position: relative;
    z-index: 99;
}

/* Option Card */
.pay-option {
    border: 2px solid #e5e7eb;
    border-radius: 12px;

    padding-left: 22px;
    padding-right: 22px;
    padding-top: 14px;
    padding-bottom: 12px;
    margin-bottom: 18px;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    cursor: pointer;

    transition: all 0.2s ease;

    background: #fff;
}

/* Hover */
.pay-option:hover {
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

/* Selected State */
.pay-option.payselected {
    border-color: var(--ui-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

/* Text Area */
.pay-text {
    flex: 1;
    padding-right: 20px;
}

/* Titles */
.paytitle {
    margin: 0 0 3px 0;
    color: #1b202b;
    font-size: 15px;
}

/* Description */
.payprice {
    margin: 0;
    color: #111827;
    line-height: 1.3;
    font-size: 19px;
    font-weight: 600;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.paydesc {
    margin-bottom: 10px;
    margin: 0;
    color: #6b7280;
    font-weight: 300;
    line-height: 1.3;
    font-size: 13px;

    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Checkbox Button */
.check-btn {
    width: 18px;
    height: 18px;

    min-width: 18px;
    max-width: 18px;

    border-radius: 6px;
    border: 2px solid #d1d5db;

    background: white;

    margin-top: 2px;

    cursor: pointer;

    transition: all 0.2s ease;

    position: relative;
}

/* Checked State */
.pay-option.payselected .check-btn {
    background: var(--ui-blue);
    border-color: var(--ui-blue);
}

/* Tick */
.pay-option.payselected .check-btn::after {
    content: "✓";

    position: absolute;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    color: white;
    font-size: 14px;
    font-weight: bold;
}




/*------------------------------------------*/
/* download Window */
.dlwin {
    background: white;
    padding-left: 70px;
    padding-right: 70px;
    padding-top: 30px;
    padding-bottom: 40px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);

    width: 530px;

    max-height: 85vh;
    overflow-y: auto;

    animation: popup 0.25s ease;
    position: relative;
    z-index: 99;
}



.dldesc {
    margin-bottom: 10px;
    margin: 0;
    color: #6b7280;
    font-weight: 300;
    line-height: 1.3;
    font-size: 13px;

    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}





/* ------------------------------------------------ */
/* Contact etc */


.general-wrap {
    width: 100%;
    /* height: 100%; */
    max-width: 1100px;
    margin: 40px auto;
    padding-left: 28px;
    padding-right: 28px;
}


.contact-card {
    max-width: 520px;
    border-radius: 14px;
    padding: 28px;
    min-width: 0;
}


.contact-card h2 {
    margin-top: 0;
    margin-bottom: 14px;

    font-size: 22px;
    font-weight: 600;

    max-width: 100%;
    color: #222;
    overflow-wrap: anywhere;
    word-break: break-word;

}


.contact-text {
    margin-bottom: 18px;

    font-size: 15px;
    line-height: 1.6;

    color: #555;

    white-space: normal;

    overflow-wrap: break-word;
}


.contact-email {
    display: inline-block;
    color: var(--ui-blue);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
    word-break: break-word;
}


.contact-email:hover {
    text-decoration: underline;
}



/* ------------------------------------------------ */
/* privacy policy */


.policy-card {
    max-width: 760px;

    padding: 28px;

    min-width: 0;
    
}


.policy-card h1 {
    margin-top: 0;
    margin-bottom: 8px;

    font-size: 32px;
    font-weight: 700;

    color: #222;
    min-width: 0;
}


.policy-updated {
    margin-bottom: 34px;

    font-size: 14px;

    color: #777;
    min-width: 0;
}


.policy-section {
    margin-bottom: 34px;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}


.policy-section h2 {
    margin-top: 0;
    margin-bottom: 14px;

    font-size: 20px;
    font-weight: 600;

    color: #222;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}


.policy-section p,
.policy-section li {
    font-size: 15px;
    line-height: 1.7;

    color: #555;

    overflow-wrap: break-word;
    min-width: 0;

    white-space: normal;
    overflow-wrap: anywhere;
}


.policy-section ul {
    margin-top: 12px;
    padding-left: 20px;
    min-width: 0;
}


.policy-email {
    display: block;

    margin-top: 10px;

    color: var(--ui-blue);

    font-size: 15px;
    font-weight: 600;

    text-decoration: none;

    overflow-wrap: anywhere;
    min-width: 0;
}


.policy-email:hover {
    text-decoration: underline;
}



/* ------------------------------------------------ */
/* My Account */

.myacc-wrap {
    width: 100%;
    max-width: 1100px;
    margin: 30px auto;

    padding-left: 28px;
    padding-right: 28px;

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 40px;

    align-items: start;
}


/* ------------------------------------------------ */
/* Sections */
/* ------------------------------------------------ */

.myacc-sec1,
.myacc-sec2 {
    min-width: 0;
}


/* ------------------------------------------------ */
/* Headings */
/* ------------------------------------------------ */

.myacc-sec1 h2,
.myacc-sec2 h2 {

    margin-top: 0;

    margin-bottom: 14px;

    font-size: 19px;

    font-weight: 600;

    color: #222;
}


/* ------------------------------------------------ */
/* Downloads List */
/* ------------------------------------------------ */

.download-list {

    list-style: none;

    padding: 0;
    margin: 0;
}



.download-list li {
    background: white;
    border: 1px solid var(--ui-border-soft);

    border-radius: 10px;

    margin-bottom: 12px;

    transition:
        border-color 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;

    box-shadow:
        0 2px 8px rgba(0,0,0,0.04);
}


.download-list li:hover {

    border-color: #bfd3ff;

    background: #fbfdff;

    transform: translateY(-1px);

    box-shadow:
        0 6px 16px rgba(37,99,235,0.08);
}


.download-list a {

    display: block;

    padding: 14px 16px;

    color: #2b3440;

    text-decoration: none;

    font-size: 14px;

    font-weight: 500;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}


.download-list a:hover {

    color: var(--ui-blue);
}



/* ------------------------------------------------ */
/* Right Section */

.myacc-card-section {

    padding-top: 6px;
    padding-bottom: 6px;
}


.myacc-username,
.myacc-downloads {
/* 
    font-size: 32px;

    font-weight: 600; */

    color: #222;

    margin-top: 6px;
    margin-bottom: 18px;
}


/* ------------------------------------------------ */
/* Buy Credits Button */
/* ------------------------------------------------ */

.buycredits {
    min-width: 140px;
    height: 44px;

    padding-left: 18px;
    padding-right: 18px;

    border-radius: 10px;

    background: var(--ui-blue);
    border: 1px solid var(--ui-blue);
    color: white;
    font-size: 14px;
    font-weight: 600;
    box-shadow:
        0 4px 12px rgba(37,99,235,0.18);
}


.buycredits:hover {

    background: var(--ui-blue-hover);
}


/* ------------------------------------------------ */
/* Divider */
/* ------------------------------------------------ */

.myacc-sec2 .divline {

    margin-top: 18px;
    margin-bottom: 18px;
}





/* ----------------------------------------------------------------- */
/* h1 */

h1 {
    font-family: "din-2014";
    font-weight: 400;
    line-height: 1em;
    font-size: 30px;
    color: rgb(252, 107, 54);
}


h2 {
    font-size: 15px;
    font-weight: 600;

    color: #222;

    margin-top: 12px;
    margin-bottom: 8px;
}



h3 {
    font-size: 13px;
    color: rgb(102, 102, 102);
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    margin-top: 10px;
}


h4 {
    font-size: 13px;
    font-weight: 100;
    color: rgb(49, 49, 49);
}


h6 {
    font-size: 15px;
    color: rgb(37, 37, 37);
    font-family: "Roboto", sans-serif;
    font-weight: 400;
}
/* //???? install roboto so the browser never defaults and the grid height with the
line height of the text would get thrown off*/




@media (max-width: 1300px) {


    .the_num_container {
        width: 85%;
        /* max-height: 92vh; */
    }

}




@media (max-width: 700px) {

    html,
    body {
        height: auto;
        min-height: 100%;
    }

    /* .pages-main,
    .page_container {
        height: auto;
        min-height: 0;
    } */


    .pages-main {
        height: 98.6vh;
        min-height: 0;
    }


    .page_container {
        height: auto;
        min-height: 0;
    }



    .page_sec {
        display: flex;
        flex-direction: column;
        width: 100%;
    }



    .inner_num {
        flex: none;
        width: 100%;
        min-height: 420px;
        height: 50vh;
        position: relative;
        overflow: hidden;
        padding-bottom: 20px;
    }


    .the_num_container {

        width: 100%;

        height: auto;

        display: flex;
        justify-content: center;

        overflow: hidden;
    }

    .the_resp_container {

        width: 100%;

        height: auto;

        display: flex;
        justify-content: center;
        align-items: center;

        overflow: hidden;
    }

    .thesvg {
        width: 95%;
        height: 100%;
        object-fit: contain;
        display: block;
    }


    .popoverlay {
        background-color: rgb(30, 45, 53, 0.9);
        
        width: 100%;
        height: 100%;

        /* min-height: 1px;
        min-width: 1px; */

        position: fixed;
        inset: 0;

        flex-grow: 1;
        flex-shrink: 1;
        flex-basis: 0;


        font-family: Arial, sans-serif;
        /* background: #f4f6f9; */
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 90;
    }


    /* ------------------------------------------------ */
    /* Sidebar */
    /* ------------------------------------------------ */

    .inner_sidebar {

        flex: none;
        flex-direction: column;

        width: 100%;

        min-width: 0;

        overflow: visible;

        position: relative;

        background: #f1f4f7;
    }


    .menu-link {
        font-size: 13.5px;
    }

    .header_sec {
        min-height: 50px;
    }



    .footer_sec {
        min-height: 37px;
    }

    .warningnotecont {
        padding: 4px 10px;
        border-radius: 0px;
    }

    .warningnote {
        color: white;
        margin: 0;
        font-weight: 500;
        font-size: 12px;
    }

    .low_bar_container {
        display: none;
    }

    .myacc-wrap {

        grid-template-columns: 1fr;

        gap: 30px;

        padding-left: 18px;
        padding-right: 18px;
    }
}










@media (max-width: 900px) {

    .feature-tile {
        grid-template-columns: 1fr;

        padding: 30px;
    }


    .feature-content h2 {
        font-size: 30px;
    }


    .landing-hero h1 {
        font-size: 34px;
    }


    .feature-points {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 640px) {

    .feature-tile {
        padding: 24px;

        border-radius: 22px;
    }


    .landing-hero h1 {
        font-size: 28px;
    }


    .landing-subtitle {
        font-size: 16px;
    }


    .feature-content h2 {
        font-size: 26px;
    }


    .hoodie-preview {
        padding: 20px;
    }
}
