            /*
    All Page Margin 0 , padding 0 and Box-Sizing
    */


    @font-face {
        font-family: "iransans";
        src: url("../fonts/iransans.ttf") format("truetype");
    }
    body {
        font-family: "iransans", sans-serif;
        
    }
    /* Get Logs And New Style To Pre To Show Better */
            pre{
                position: relative;
                display: block;
                background:white;
                border:1px solid var(--Border);
                padding:20px;
                width:fit-content;
                margin: 20px 20px;
                z-index: 999999999999;
                border-radius: 20px;
                box-shadow:0 0 10px rgba(37, 99, 235, 0.18);
                transition: 0.3s;
            }
            pre:hover{
                transform: translateX(30px);
                transform: scale(1.1);
            }
            * {
                margin: 0;
                padding: 0;
                box-sizing: border-box;
            }
            
             :root {
                --surface: #ffffff;
                --background: #f4f6f8;
                --primary: #1976a8;
                --text: #263238;
                --border: #d7dde3;
                --radius: 8px;

                --Card-radius:12px;
                --Input-radius:8px;
                --Button-radius:8px;
                --Input-height:44px;
                --Button-height: 44px;
                --Label:14px;
                --Title:22px;


                --Background: #F6F8FB;
                --Card: #FFFFFF;
                --Primary: #2563EB;
                --PrimaryHover: #1D4ED8;
                --Text: #172033;
                --SecondaryText: #64748B;
                --Border: #E2E8F0;
                --Success: #16A34A;
                --Warning: #F59E0B;
                --Danger: #DC2626;
                --Primery: #F6F8FB;
                --HeaderTextColor: #172033;
                --Secondary: #FFFFFF;
                /* Radius system */
                --Radius: 12px;
                --CardRadius: 12px;
                --InputRadius: 8px;
                --ButtonRadius: 8px;
                --BadgeRadius: 999px;
                --PaddingUpload: 20px;
                --ThinknessBorder: 3px;
                --header: 90px;
                --Table:100px;
                --IndexHeader: 1000;
            }
            
            body {
                background: var(--Background);
                min-height: 100vh;
                display: flex;
                flex-direction: column;
                margin-top: var(--header);
                color: var(--Text);
            }
            /* Top Header */
            .center{
                margin: 0 auto;

            }
            #Logo {
                opacity: 0;
                animation: Fade 1.8s ease-in forwards;
                animation-delay: 0.3s;
            }
            #Logo img{
                width:120px;
            }
            .TopHeader {
                background-color: var(--Primery);
                color: var(--HeaderTextColor);
                display: flex;
                align-items: center;
                padding: 10px 10px;
                position: fixed;
            }
            
            .UlFloating {
                display: flex;
                list-style: none;
                gap: 40px;
                align-items: center;
                padding: 0 auto;
            }
            body{
                margin-top: 200px;
            }
            .sticky
            {
                position: sticky;
            top:var(--Table);
                background: var(--Card);
                z-index: var(--IndexHeader);
            }
            /* end Top Header*/
            /*
    If Device Screen Less Than 768 Columned It
    */  
            
            @media (max-width:768px) {
                .controlpassword
                {
                    flex-direction: column;
                }
   
            .userpassword
            {
                height: 50px !important;
            }
                .simpleform{
                    width: 96% !important;
                }
                .controlpassword img{
                    width:25px !important;
                    top:59%;
                }
                .deletetext
                {
                           top: 57%;
        left: 11% !important;
                }

                 :root {
                    --header: 350px;
                }

                #mainHeader{
                    flex-direction: column;
                    margin: 0;
                    height:50px !important;
                    transition: 0.3s;
                }
                
                
         
                #mainHeader:hover
                {
                
                    height: 300px !important;
                    box-shadow: 0 0 10px rgba(0,0,0,0.2);
                    border-color:gray;
                    
                    border-bottom-left-radius: var(--Radius);
                    border-bottom-right-radius: var(--Radius);
                }
                #mainHeader:hover>ul
                {
                    display: flex !important;
                    opacity: 1;


                }
       
                body:has(#mainHeader:hover){
                    transition: 0.3s;
                    margin-top: 300px;
                    }
                #mainHeader ul {
                    opacity: 0;
                    flex-direction: column;
                    margin: 0 !important;
                    padding: 0;
                    align-items: center;
                    display: none !important;
                    transition: 0.2s;

                }
                #Footer {
                    flex-direction: column;
                    margin: 0 auto;
                    padding: 10px auto;
                    align-items: center;
                }
                #GerberUpload,
                #Upload {
                    flex-direction: column;
                    align-items: center;
                }
                /* Stack main upload/grid into a single column on small screens */
                #GerberUpload {
                    display: flex;
                    flex-direction: column;
                    gap: 18px;
                    width: 80% !important;
                    margin: 10px auto;
                    align-items: stretch;
                }

                /* Make details column children full width and remove sticky positioning */
                .details-column {
                    display: block;
                }

                .details-column > .preview-panel,
                .pricing-panel,
                .details-column > .board-options,
                .details-column > .submit-order-panel {
                    position: static !important;
                    top: auto !important;
                    left: auto !important;
                    grid-column: auto !important;
                    grid-row: auto !important;
                    width: 100%;
                }

                /* Ensure cards take full width on mobile */
                .card {
                    width:100%;
                    padding: 18px;
                    margin: 10px;
                }

                /* Make dimension-field stack: label, small (bound), then inputs */
                .option-field.dimension-field {
                    display: flex;
                    flex-direction: column;
                    gap: 8px;
                    align-items: stretch;
                }

                .option-field.dimension-field > span {
                    display: inline-flex;
                    align-items: center;
                    justify-content: flex-start;
                }

                .option-field.dimension-field > small {
                    order: 1;
                    display: block;
                    text-align: right;
                    color: rgba(45,50,85,0.7);
                }

                .option-field.dimension-field .dimension-inputs {
                    order: 2;
                    width: 100%;
                }
                #GerberUpload .Col img {
                    width: 300px !important;
                }
                #Message {
                    bottom: 20px;
                    left: 20px;
                }
                #LoginPage .form {
                    width: 90% !important;
       
                }
                .form .input label
                {
                    padding-right: 5px !important;
                }
                .form .input input
                {
                    font-size: 13px !important;
                }
                .form .input input:focus+label
                {
                    right:-40% !important;
                }
                pre{
                    width:90% !important;
                }
                body{
                /*margin-top:20px !important;*/
            }
            }
            /* end */
            /* Main Header */
            
            #mainHeader {
                display: flex;
                align-items: center;
                background: var(--Card);
                padding: 10px 0;
                border-bottom: 1px solid var(--Border);
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: var(--header);
                z-index: var(--IndexHeader);
            }
            /* #Account a {
        border: 1px solid var(--HeaderTextColor);
        border-radius: var(--Radius);
        padding: 10px;
    }
    */
            
            #mainHeader ul li a {
                text-decoration: none;
                color: black;
            }
            
            #mainHeader ul {
                display: flex;
                list-style: none;
                margin-right: 20%;
                align-items: center;
            }
            
            #mainHeader img {
                width: 70px;
                padding: 0;
            }
      
            #mainHeader span, .logoP{
                font-size: 3em;
                line-height: 1;
                color: var(--Primary);
                display: inline-block;
            }
            
            #mainHeader span span , .logoC{
                font-size: inherit;
                color: black;
            }
            
            #mainHeader ul li {
                border: 1px solid transparent;
                padding: 10px;
                /*transition: 0.3s all ease-in;*/
                transition: transform .3s ease;
            }
            
            #mainHeader ul li:hover {
                transform: translateY(10px);
                color: var(--PrimaryHover);
                border-bottom: 1px solid var(--PrimaryHover);
                background-color: var(--Card);
                border-radius: var(--Radius);
                padding: 10px;
            }

            /* active link style for current page */
            #mainHeader ul li.active{
                transform: none;
                color: var(--Primary);
                border-bottom: 1px solid var(--Primary);
                background-color: var(--Card);
                border-radius: var(--Radius);
                padding: 10px;
            }
            #removesearch{
        position: absolute;
        top:40px;
    left: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: transparent;
    outline: 0;
    opacity: 0.5;
    cursor: pointer;
}

#checklist{
        position: relative;

    width:100%;
    height: 20%;
    background:#ffffff;
    border:1px solid #8080805c;
    border-radius: var(--radius);

}
#preview-container {
  width: 100%;
  overflow: auto; /* اگر بزرگ بود اسکرول بیاد */
  background: #1a1a1a;
}

#pcb-canvas {
  display: block;
  max-width: 100%;
  height: auto;
  /* اگر می‌خوای بزرگ‌تر دیده بشه: */
  /* width: 1200px; */
}
#previewContainer {
    position: relative;
width:100%; background: #f2f9f6;
height:78%;
}
.formpreview{ width:100% !important; background: #ffffff;
        display:flex;
        flex-direction: column;
        gap:2px;
height: 330px;
border-radius: var(--radius);
    padding:10px;
}
.layer {
    position: absolute;
    top: 0;
    left: 0;

    flex: 100%;
    object-fit: contain;
    width:100%;
    height:100%;
    background: transparent;
}
            #GerberUpload {
                opacity: 0;
                animation-delay: 0.4s;
                animation: Fade 0.3s forwards;
            }
            /* end Main Header*/
            /*Upload Section  */
            
            #GerberUpload {
                display: grid;
                /*grid-template-columns: minmax(320px, 1.5fr) minmax(320px, 1fr);*/
                gap: 24px;
                margin: 10px auto;
                align-items: start;
            }
            
            .card {
                background: var(--Card);
                border: 1px solid var(--Border);
                border-radius: var(--CardRadius);
                box-shadow: 0 12px 28px rgba(23, 32, 51, 0.05);
                padding: 26px;
          
            }

            .badge {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                padding: 4px 10px;
                border-radius: var(--BadgeRadius);
                background: rgba(37, 99, 235, 0.08);
                color: var(--Primary);
                font-size: 0.72rem;
                font-weight: 700;
                line-height: 1.4;
            }

            .details-column {
                display: contents;
            }

            #GerberUpload > .upload-panel {
                grid-column: 1;
                grid-row: 1;
            }

            .details-column > .preview-panel {
                grid-column: 2;
                grid-row: 1;
                position: sticky;
                top:100px;
                align-self: start;
                height: 200px;
                z-index: 4;
            }

            .details-column > .board-options {
                grid-column: 1;
                grid-row: 2;
            }

            .pricing-panel {
                grid-column: 2;
                grid-row: 1;
                position: sticky;
                top: 100px;
                left: 20px;
                align-self: start;
                z-index: 4;
                height: fit-content;
            }

            .details-column > .submit-order-panel {
                grid-column: 1;
                grid-row: 3;
            }

            .board-options {
                display: grid;
                gap: 24px;
                padding: 32px;
            }

            .options-heading {
                display: flex;
                align-items: flex-start;
                justify-content: space-between;
                gap: 16px;
            }

            .options-heading h2 {
                margin-bottom: 0;
            }

            .options-heading > i {
                color: var(--Primary);
                font-size: 1.4rem;
            }

            .options-grid {
                display: grid;
                grid-template-columns: 1fr;
                gap: 12px;
            }

            /* Layer choice boxes: horizontal inline choices */
            .layer-choices {
                display: flex;
                flex-direction: row;
                gap: 8px;
                flex-wrap: wrap;
                align-items: center;
            }

            .layer-choice {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                min-width: 86px;
                padding: 8px 12px;
                border-radius: 10px;
                border: 1px solid rgba(0,0,0,0.12);
                background: #fff;
                cursor: pointer;
                font-weight: 600;
                color: rgb(30,35,70);
                transition: background .15s ease, border-color .15s ease, transform .12s ease;
            }

            .layer-choice input {
                position: absolute;
                opacity: 0;
                pointer-events: none;
            }

            .layer-choice:hover {
                transform: translateY(-3px);
                border-color: rgba(188,32,49,0.5);
            }

            .layer-choice:has(input:checked) {
  

                border-color: rgb(32 75 188);
    background: rgb(32 44 188 / 8%);
    color: rgb(32 75 188);
}
            

            /* Generic choice boxes for other selects: inline horizontal */
            .choice-choices {
                display: flex;
                flex-direction: row;
                gap: 8px;
                flex-wrap: wrap;
                align-items: center;
            }

            .choice-choice {
                gap:6px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                min-width: 86px;
                padding: 8px 12px;
                border-radius: 10px;
                border: 1px solid rgba(0,0,0,0.12);
                background: #fff;
                cursor: pointer;
                font-weight: 600;
                color: rgb(30,35,70);
                transition: background .15s ease, border-color .15s ease, transform .12s ease;
            }

            .choice-choice input {
                position: absolute;
                opacity: 0;
                pointer-events: none;
            }

            .choice-choice:hover {
                transform: translateY(-3px);
                border-color: rgba(188,32,49,0.5);
            }

            .choice-choice:has(input:checked) {
                border-color: rgb(32 75 188);
    background: rgb(32 44 188 / 8%);
    color: rgb(32 75 188);
            }

            /* Stack option fields vertically for narrower width */
            /* keep single-column layout by default; responsive rules not needed */

            .option-field {
                display: grid;
                /* left column for label/description, right column for choices */
                grid-template-columns: minmax(140px, 32%) 1fr;
                gap: 8px 16px;
                align-items: center;
                min-width: 0;
                margin:5px 0;
                padding:10px 0;
                border-bottom: 1px solid #e1e1e1;
            }
            

            .option-field { position: relative; }

            /* Info button next to descriptions */
            .info-btn {
                appearance: none;
                border: 1px solid rgb(188,32,49);
                background: transparent;
                color: rgb(188,32,49);
                padding: 0 5px;
                border-radius: 50%;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                font-weight: 700;
                cursor: pointer;
                margin-inline-start: 6px;
                line-height: 1;
                white-space: nowrap;
                outline: 0;
                height: 28px;
                min-width: 28px;
            }
            body{
                margin-top:100px;
            }
            .info-btn:focus,
            .info-btn:hover {
                background: rgba(188,32,49,0.06);
            }

            /* Ensure existing inline input buttons inside option-field match the style */
            .option-field input[type="button"],
            .option-field button {
                appearance: none;
                border: 1px solid rgb(188,32,49);
                background: transparent;
                color: rgb(188,32,49);
                padding: 0 5px;
                border-radius: 50%;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                font-weight: 700;
                cursor: pointer;
                margin-inline-start: 6px;
                line-height: 1;
                white-space: nowrap;
                outline: 0;
                height: 28px;
                min-width: 28px;
            }

            .info-tooltip {
                position: absolute;
                background: #fff;
                border: 1px solid rgba(0,0,0,0.12);
                padding: 10px 12px;
                border-radius: 10px;
                box-shadow: 0 12px 30px rgba(0,0,0,0.12);
                z-index: 2000;
                text-align: right;
                width: 200px;
                /*width: max-content;*/
               /*max-width: calc(100vw - 16px);*/
                white-space: normal;
              /*  overflow-x: auto;*/
                overflow-y: hidden;
                height: 300px;
                scrollbar-width: thin;
                transition: transform .12s ease, opacity .12s ease;
                opacity: 0;
                transform: translateY(-6px);
            }

            .info-tooltip.show {
                opacity: 1;
                transform: translateY(0);
            }

            .info-tooltip::after {
                content: '';
                position: absolute;
                width: 0;
                height: 0;
                border: 8px solid transparent;
                left: -16px;
                top: 50%;
                transform: translateY(-50%);
                border-right-color: rgba(0,0,0,0.12);
            }

            /* when tooltip is shown to the left of the button */
            .info-tooltip.left::after {
                left: auto;
                right: -16px;
                border-right-color: transparent;
                border-left-color: rgba(0,0,0,0.12);
            }

            /* ensure the descriptive texts stay in the first column and allow inline info button */
            .option-field > span,
            .option-field > small {
                grid-column: 1;
                display: inline-flex;
                align-items: center;
                gap: 6px;
                text-align: right;
                white-space: nowrap;
            }

            /* place choices in the second column */
            .option-field > .choice-choices,
            .option-field > .layer-choices {
                grid-column: 2;
                justify-self: start;
                width: 100%;
            }

            .option-field > span {
                color: rgb(30, 35, 70);
                font-weight: 600;
            }

            .option-field small {
                min-height: 20px;
                color: rgba(45, 50, 85, 0.68);
                font-size: 0.78rem;
            }

            .option-field select,
            .option-field input[type=text],
            .option-field input[type=number] {
                width: 100%;
                min-height: 44px;
                padding: 10px 12px;
                border: 1px solid rgba(0, 0, 0, 0.12);
                border-radius: var(--InputRadius);
                background: #ffffff;
                color: rgb(30, 35, 70);
                font: inherit;
                outline: none;
            }
            .about-field-lock{
                background:rgb(242, 242, 242) !important;
            }
            .option-field select:focus,
            .option-field input[type=text]:focus,
            .option-field input[type=number]:focus {
                border-color: rgba(37, 99, 235, 0.7);
                box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
            }

            /* ensure numeric inputs occupy the second column in option-field */
            .option-field > input[type=number] {
                grid-column: 2;
                justify-self: start;
                width: 100%;
            }
            .hiddenchoice{
                display: none;
            }
            a{
                text-decoration: none;
                color:#1976a8;
            }
            .dimension-inputs {
              /*  display: grid;
                grid-template-columns: 1fr auto 1fr;*/
                display: flex;
                align-items: center;
                gap: 7px;
            }

            .dimension-inputs b {
                color: rgba(30, 35, 70, 0.55);
            }

            .color-choices {
                display: flex;
                flex-wrap: wrap;
                gap: 7px;
            }

            .color-choices label {
                display: inline-flex;
                align-items: center;
                gap: 6px;
                padding: 7px 8px;
                border: 1px solid rgba(0, 0, 0, 0.1);
                border-radius: 8px;
                color: rgb(45, 50, 85);
                cursor: pointer;
                font-size: 0.85rem;
            }

            .color-choices label:has(input:checked) {
                border-color: var(--Primary);
                background: rgba(37, 99, 235, 0.08);
                font-weight: 600;
            }

            .color-choices input {
                position: absolute;
                opacity: 0;
            }

            .color-swatch {
                width: 19px;
                height: 19px;
                display: inline-block;
                border: 1px solid rgba(0, 0, 0, 0.2);
                border-radius: 50%;
            }

            .swatch-green { background: #238b57; }
            .swatch-red { background: #d63c3c; }
            .swatch-blue { background: #2c72c7; }
            .swatch-black { background: #16191d; }
            .swatch-white { background: #ffffff; }
            .swatch-MatteBlack { background: #666; }

            .choice-row {
                display: grid;
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 16px;
            }

            .choice-group {
                display: flex;
                flex-wrap: wrap;
                gap: 8px;
                min-width: 0;
                padding: 12px;
                border: 1px solid rgba(0, 0, 0, 0.1);
                border-radius: 12px;
            }
            body{
                background: var(--Background);
            }
            .choice-group legend {
                width: 100%;
                margin-bottom: 4px;
                color: rgb(30, 35, 70);
                font-weight: 600;
            }

            .choice-group label {
                flex: 1 1 auto;
                padding: 9px 10px;
                border: 1px solid rgba(37, 99, 235, 0.16);
                border-radius: 8px;
                color: rgb(45, 50, 85);
                cursor: pointer;
                text-align: center;
            }

            .choice-group label:has(input:checked) {
                border-color: var(--Primary);
                background: rgba(37, 99, 235, 0.08);
                color: var(--Primary);
                font-weight: 600;
            }

            .choice-group input {
                position: absolute;
                opacity: 0;
            }

            .order-description {
                display: grid;
                gap: 8px;
                width: 100%;
            }

            .order-description label {
                color: rgb(30, 35, 70);
                font-weight: 600;
            }

            #orderDescription {
                width: 100%;
                min-height: 112px;
                resize: vertical;
                padding: 12px;
                border: 1px solid rgba(0, 0, 0, 0.12);
                border-radius: 10px;
                background: #ffffff;
                color: rgb(30, 35, 70);
                font: inherit;
                line-height: 1.8;
                outline: none;
            }

            #orderDescription:focus {
                border-color: rgba(37, 99, 235, 0.7);
                box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
            }

            .choice-group .description-field {
                display: grid;
                flex-basis: 100%;
                gap: 7px;
                padding: 0;
                border: 0;
                text-align: right;
                cursor: default;
            }

            .choice-group .description-field span {
                color: rgb(30, 35, 70);
                font-weight: 600;
            }

            .choice-group .description-field textarea {
                width: 100%;
                min-height: 112px;
                resize: vertical;
                padding: 12px;
                border: 1px solid rgba(0, 0, 0, 0.12);
                border-radius: 10px;
                background: #ffffff;
                color: rgb(30, 35, 70);
                font: inherit;
                line-height: 1.8;
                outline: none;
            }

            .choice-group .description-field textarea:focus {
                border-color: rgba(37, 99, 235, 0.7);
                box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
            }

            .submit-order-panel {
                display: flex;
                justify-content: center;
            }

            .upload-submit-button,
            .submit-order-button {
                display: inline-flex;
                justify-content: center;
                align-items: center;
                gap: 8px;
                min-height: 42px;
                padding: 10px 18px;
                border: 0;
                border-radius: var(--ButtonRadius);
                cursor: pointer;
                font: inherit;
                font-weight: 700;
                transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
            }

            .upload-submit-button {
                width: fit-content;
                min-width: 150px;
                margin-top: 12px;
                background: var(--Primary);
                color: #ffffff;
                box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
            }

            .submit-order-button {
                width: min(220px, 100%);
                background: var(--Primary);
                color: #ffffff;
                box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
            }

            .upload-submit-button:hover,
            .submit-order-button:hover {
                transform: translateY(-1px);
            }

            .submit-order-button:hover {
                background: var(--PrimaryHover);
                transform: translateY(-2px);
                box-shadow: 0 16px 30px rgba(37, 99, 235, 0.28);
            }
            
            .upload-panel h2,
            .preview-panel h2,
            .pricing-panel h2,
            .stencil-row h3 {
                margin-bottom: 18px;
                color: rgb(25, 32, 66);
            }
            
            .drop-zone {
                position: relative;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                min-height: 220px;
                text-align: center;
                border: 2px dashed rgba(37, 99, 235, 0.35);
                border-radius: var(--Radius);
                background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(37,99,235,0.05));
                color: rgb(40, 45, 75);
                padding: 24px;
                cursor: pointer;
                transition: border-color .3s ease, background .3s ease, transform .3s ease;
            }
            
            .drop-zone:hover {
                border-color: rgba(37, 99, 235, 0.8);
                transform: translateY(-2px);
            }
            
            .drop-zone i {
                font-size: 42px;
                margin-bottom: 16px;
                color: var(--Primary);
            }
            
            .drop-zone .upload-text p {
                font-size: 1rem;
                margin-bottom: 8px;
            }
            
            .drop-zone .upload-text small {
                color: rgba(40, 45, 75, 0.7);
            }
            
            #Upload input[type=file] {
                inset: 0;
                width: 100%;
                height: 100%;
                opacity: 0;
                cursor: pointer;
            }
            
            .stencil-row {
                margin-top: 24px;
            }
            
            .stencil-row .file-label {
                display: inline-flex;
                align-items: center;
                gap: 12px;
                padding: 14px 18px;
                border: 1px dashed rgba(0,0,0,0.15);
                border-radius: 14px;
                cursor: pointer;
                color: rgb(35, 40, 70);
                transition: background .3s ease, border-color .3s ease;
            }
            
            .stencil-row .file-label:hover {
                border-color: rgba(37, 99, 235, 0.6);
                background: rgba(37,99,235,0.06);
            }
            
            .stencil-row input[type=file] {
                display: none;
            }
            
            .stencil-row .hint {
                margin-top: 10px;
                color: rgba(45, 50, 85, 0.75);
                font-size: 0.95rem;
            }
            
            .preview-box {
                display: grid;
                grid-template-columns: 140px auto;
                gap: 18px;
                align-items: center;
                min-height: 150px;
            }
            
            .preview-box img {
                width: 100%;
                border-radius: var(--Radius);
                border: 1px solid rgba(0,0,0,0.08);
                box-shadow: 0 18px 35px rgba(0,0,0,0.08);
            }
            
            .preview-info p {
                margin-bottom: 12px;
                color: rgb(35, 40, 75);
                line-height: 1.6;
            }
            
            .preview-info span {
                font-weight: 600;
                color: rgb(20, 30, 65);
            }
            
            .pricing-panel {
                display: grid;
                gap: 20px;
                padding: 24px 26px;
            }

            .pricing-heading {
                display: flex;
                justify-content: space-between;
                align-items: flex-start;
                gap: 16px;
            }

            .pricing-heading h2 {
                margin-bottom: 0;
            }

            .pricing-heading > i {
                color: var(--Primary);
                font-size: 1.4rem;
            }

            .section-kicker {
                display: block;
                margin-bottom: 5px;
                color: rgba(30, 35, 70, 0.62);
                font-size: 0.82rem;
            }
            
            .pricing-field {
                display: grid;
                gap: 10px;
            }
            
            .pricing-field label {
                font-weight: 600;
                color: rgb(30, 35, 70);
            }
            
            .pricing-field select,
            .pricing-field input[type=number] {
                width: 100%;
                border: 1px solid rgba(0,0,0,0.12);
                border-radius: 14px;
                padding: 12px 14px;
                font-size: 1rem;
                outline: none;
                transition: border-color .3s ease, box-shadow .3s ease;
            }
            
            .pricing-field input[type=number]:focus,
            .pricing-field select:focus {
                border-color: rgba(37, 99, 235, 0.7);
                box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
            }
            
            .pricing-checkbox {
                grid-template-columns: auto;
                align-items: center;
                gap: 10px;
            }
            
            .pricing-checkbox input {
                width: auto;
                margin-left: 8px;
            }
            
            .price-summary {
                padding: 18px;
                border-radius: 16px;
                background: rgba(37, 99, 235, 0.04);
                color: rgb(30, 35, 70);
                border: 1px solid rgba(37, 99, 235, 0.1);
            }
            
            .price-summary p {
                margin-bottom: 10px;
            }
            
            .price-summary strong {
                color: var(--Primary);
            }
            
            .price-note {
                color: rgba(30, 35, 70, 0.75);
                font-size: 0.95rem;
            }
            
            #calculatePrice {
                width: fit-content;
                padding: 12px 24px;
                border: none;
                border-radius: 14px;
                background: var(--Primary);
                color: white;
                cursor: pointer;
                transition: transform .2s ease, box-shadow .2s ease;
            }
            
            #calculatePrice:hover {
                transform: translateY(-1px);
                box-shadow: 0 10px 30px rgba(37, 99, 235, 0.25);
            }

            .order-options-placeholder {
                display: flex;
                justify-content: space-between;
                align-items: center;
                gap: 18px;
                min-height: 68px;
                padding: 16px 20px;
                border: 1px dashed rgba(37, 99, 235, 0.35);
                border-radius: 16px;
                background: rgba(255, 255, 255, 0.72);
                color: rgb(35, 40, 70);
            }

            .order-options-placeholder span {
                display: inline-flex;
                align-items: center;
                gap: 9px;
                font-weight: 600;
            }

            .order-options-placeholder span i {
                color: var(--Primary);
            }

            .order-options-placeholder small {
                color: rgba(35, 40, 70, 0.65);
            }
            
            @media (max-width: 900px) {
                #GerberUpload {
                    grid-template-columns: 1fr;
                }

                #GerberUpload > .upload-panel,
                .details-column > .preview-panel,
                .details-column > .board-options,
                .details-column > .submit-order-panel,
                .details-column > .pricing-panel {
                    grid-column: 1;
                    grid-row: auto;
                }
          
                .details-column > .preview-panel,
                .details-column > .pricing-panel {
                    position:sticky;
                    top:100px;
                    height: auto;
                }

            
                .preview-box {
                    grid-template-columns: 1fr;
                }
            }
            
            @media (max-width: 580px) {
                #GerberUpload {
                    width: 96%;
                    margin: 24px auto;
                }
                .drop-zone {
                    min-height: 200px;
                }

                .options-grid,
                .choice-row {
                    grid-template-columns: 1fr;
                }

                .order-options-placeholder {
                    align-items: flex-start;
                    flex-direction: column;
                }
            }
            
            @keyframes spin {
                to {
                    transform: rotate(360deg);
                }
            }
            
            @keyframes imagescale {
                from {
                    transform: scale(1);
                }
                to {
                    transform: scale(1.01);
                }
            }
            
            @keyframes move {
                To {
                    transform: translateY(5px);
                }
            }
            
            @keyframes font {
                To {
                    font-size: 300px;
                }
            }
            
            @keyframes Fade {
                To {
                    opacity: 1;
                }
            }
            /*end Upload Title  */
            /* Footer Start*/
            
            footer {
                background: white;
                border-top: 1px solid black;
                position: relative;
                padding: 20px auto 0 auto;
                text-align: center;
                /*bottom: 0;*/
            }
            
            #Footer {
                display: flex;
                width: 80%;
                margin: 20px auto;
            }
            
            #Footer div {
                flex: 30%;
            }
            /*Footer End*/
            /* Content */
            
            #GerberUpload {
                width: 80%;
                /*   background-color: white;*/
                margin: 20px auto;
                /*  border: 1px solid black;
        border-radius: var(--Radius);*/
                flex: 1;
            }
            
            #Footer ul {
                list-style: none;
            }
            
            #Footer a {
                color: black;
                text-decoration: none;
            }
            /* Content End */
            .hero-section {
                display: flex;
                justify-content: space-between;
                align-items: center;
                gap: 40px;
                width: 90%;
                max-width: 1200px;
                margin: 40px auto 20px;
                padding: 40px;
                background: rgba(255, 255, 255, 0.95);
                border: 1px solid rgba(0,0,0,0.12);
                border-radius: var(--Radius);
                box-shadow: 0 20px 60px rgba(0,0,0,0.08);
            }

            .hero-section .hero-content {
                flex: 1 1 420px;
            }

            .hero-section h1 {
                font-size: 2.8rem;
                margin-bottom: 20px;
                color: rgb(20, 25, 55);
            }

            .hero-section p {
                line-height: 1.8;
                color: rgba(20, 25, 55, 0.88);
                margin-bottom: 16px;
            }

            .hero-section .hero-image {
                flex: 0 0 420px;
                text-align: center;
            }

            .hero-section .hero-image img {
                width: 100%;
                max-width: 420px;
                border-radius: var(--Radius);
                border: 1px solid rgba(0,0,0,0.08);
                box-shadow: 0 20px 40px rgba(0,0,0,0.08);
            }

            .pcb-info,
            .unique-section {
                width: 90%;
                max-width: 1200px;
                margin: 0 auto 20px;
                padding: 30px 40px;
                background: rgba(255, 255, 255, 0.95);
                border: 1px solid rgba(0,0,0,0.12);
                border-radius: var(--Radius);
                box-shadow: 0 20px 40px rgba(0,0,0,0.06);
            }

            .pcb-info h2,
            .unique-section h2 {
                font-size: 2rem;
                margin-bottom: 18px;
                color: rgb(15, 20, 50);
            }

            .pcb-info ul,
            .unique-section ul {
                list-style: none;
                display: grid;
                gap: 12px;
            }

            .pcb-info ul li,
            .unique-section ul li {
                padding: 14px 18px;
                background: rgba(238, 242, 255, 0.8);
                border-radius: 14px;
                color: rgb(30, 35, 70);
            }

            .unique-section p {
                margin-bottom: 18px;
                color: rgba(20, 25, 55, 0.9);
            }

            @media (max-width: 900px) {
                .hero-section {
                    flex-direction: column-reverse;
                    padding: 30px 20px;
                }

                .hero-section .hero-image,
                .hero-section .hero-content {
                    width: 100%;
                }

                .hero-section h1 {
                    font-size: 2.2rem;
                }
            }

            @media (max-width: 580px) {
                .hero-section,
                .pcb-info,
                .unique-section {
                    width: 95%;
                    margin: 20px auto;
                    padding: 24px;
                }

                .hero-section h1 {
                    font-size: 1.9rem;
                }
            }

            /* About Us */

            .about-page {
                padding: 28px 0 48px;
                background: linear-gradient(180deg, #eef9f5 0%, #ffffff 65%);
            }

            .about-hero,
            .about-intro,
            .about-values {
                width: 90%;
                max-width: 1200px;
                margin: 0 auto 24px;
            }

            .about-hero {
                display: grid;
                grid-template-columns: 1.05fr 0.95fr;
                gap: 48px;
                align-items: center;
                padding: 52px;
                background: #173f3a;
                border-radius: var(--Radius);
                color: #ffffff;
                overflow: hidden;
                box-shadow: 0 24px 55px rgba(23, 63, 58, 0.2);
            }

            .about-eyebrow {
                display: inline-block;
                margin-bottom: 14px;
                color: #74d3ae;
                font-size: 0.95rem;
                font-weight: bold;
                letter-spacing: 0;
            }

            .about-hero h1 {
                max-width: 620px;
                margin-bottom: 20px;
                font-size: clamp(2rem, 4vw, 3.6rem);
                line-height: 1.25;
            }

            .about-hero p {
                max-width: 570px;
                color: rgba(255, 255, 255, 0.82);
                line-height: 2;
                font-size: 1.08rem;
            }

            .about-actions {
                display: flex;
                flex-wrap: wrap;
                gap: 12px;
                margin-top: 28px;
            }

            .about-button {
                display: inline-flex;
                align-items: center;
                gap: 10px;
                padding: 12px 18px;
                border-radius: 10px;
                text-decoration: none;
                transition: transform 0.2s ease, background 0.2s ease;
            }
            .classingorder:last-child{
                margin-left: 200px !important;
            }
            .classingorder:first-child{
                margin-right: 200px !important;
            }
            .classingorder{
                border:1px solid #e1e1e1;
                padding:1px;
                background:#e1e1e1;
                margin:5px;
                justify-content: center;
                width:fit-content;
                max-width: 200px;
                min-width: 100px;
                height: 50px;
                display: flex;
                text-align:center;
                border-radius: var(--radius);
                cursor: pointer;
                z-index:10;
    position: relative;
            }
            .classingorder:hover{
                background:var(--primary);
                color:white;
            }
            .classingorder.active{
                background:var(--primary);
                color:white;
                border-color:var(--primary);
            }
            .classingorderSelected{
                background:var(--primary);
                color:white;
            }
            .about-button:hover {
                transform: translateY(-3px);
            }
            .classingorder p{
  /*   position: absolute;
     width: fit-content;
     height: fit-content;
     border-radius: 50%;
    top: -8px;
    right: -8px;
    z-index: 10;
    padding: 3px 7px;
    border-radius: 10px;
    color:rgb(242, 241, 241);
    background:#0020ff;
    z-index: 9999 !important;*/
 position: absolute;
    top: -7px;
    right: -7px;

    min-width: 22px;
    height: 22px;
    padding: 0 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--primary);
    color: white;

    border: 2px solid white;
    border-radius: 50%;

    font-size: 12px;
    font-weight: 700;
    line-height: 1;

    z-index: 10;



            }
            .about-button-primary {
                background: #74d3ae;
                color: #173f3a;
            }

            .about-button-secondary {
                border: 1px solid rgba(255, 255, 255, 0.38);
                color: #ffffff;
            }

            .about-button-secondary:hover {
                background: rgba(255, 255, 255, 0.1);
            }

            .about-hero-image {
                position: relative;
            }

            .about-hero-image img {
                display: block;
                width: 100%;
                border-radius: 16px;
                border: 8px solid rgba(255, 255, 255, 0.12);
            }
            .ordercounter{
                opacity: 0;
                    border: 1px solid #1976A8;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
    position: absolute;
    top: 0 !important;
    right: 10px !important;
    background: #1976A8;
    color: white;
    box-shadow: 0 0 5px gray;
        justify-content: center;

            }
            .about-image-label {
                position: absolute;
                right: 18px;
                bottom: 18px;
                padding: 9px 13px;
                border-radius: 8px;
                background: #ffffff;
                color: #173f3a;
                font-size: 0.9rem;
            }

            .about-image-label i {
                margin-left: 6px;
                color: #2f9d86;
            }

            .about-intro {
                display: grid;
                grid-template-columns: 0.8fr 1.2fr;
                gap: 44px;
                padding: 32px 40px;
                border-right: 4px solid #74d3ae;
                background: #ffffff;
                box-shadow: 0 12px 35px rgba(23, 63, 58, 0.08);
            }

            .about-intro h2,
            .about-section-heading h2 {
                color: #173f3a;
                font-size: 2rem;
            }

            .about-intro p {
                align-self: center;
                color: #40566d;
                line-height: 2;
            }

            .about-section-heading {
                margin-bottom: 22px;
            }

            .about-value-grid {
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                gap: 18px;
            }

            .about-value-card {
                padding: 26px;
                background: #ffffff;
                border: 1px solid #e1e9f0;
                border-radius: 12px;
                box-shadow: 0 12px 30px rgba(23, 63, 58, 0.07);
            }

            .about-value-card i {
                margin-bottom: 18px;
                color: #2f9d86;
                font-size: 1.5rem;
            }

            .about-value-card h3 {
                margin-bottom: 10px;
                color: #173f3a;
            }

            .about-value-card p {
                color: #536b80;
                line-height: 1.8;
            }

            @media (max-width: 800px) {
                .about-hero,
                .about-intro {
                    grid-template-columns: 1fr;
                }

                .about-hero {
                    padding: 30px 24px;
                }

                .about-value-grid {
                    grid-template-columns: 1fr;
                }
            }

            @media (max-width: 580px) {
                .about-page {
                    padding-top: 16px;
                }

                .about-hero,
                .about-intro,
                .about-values {
                    width: 94%;
                }

                .about-intro {
                    padding: 24px;
                    gap: 18px;
                }

                .about-intro h2,
                .about-section-heading h2 {
                    font-size: 1.7rem;
                }
            }
            /* End About us*/
            /* Loading Show */
            
            #preloader {
                position: fixed;
                inset: 0;
                background: rgb(255, 255, 255);
                display: flex;
                justify-content: center;
                align-items: center;
                z-index: 1111111;
            }
            
            .loader {
                width: 60px;
                height: 60px;
                border: 5px solid rgba(255, 255, 255, 1);
                border-top: 5px solid var(--Primary);
                display: flex;
                justify-content: center;
                align-items: center;
                border-radius: 50%;
                /*    animation: move 1s ease-in-out infinite alternate;*/
                animation: spin 1s linear infinite;
            }
            
            .loader3 {
                width: 100%;
                height: 100%;
                border: 5px solid rgba(255, 255, 255, 1);
                border-top: 5px solid rgb(0, 0, 0);
                display: flex;
                justify-content: center;
                align-items: center;
                border-radius: 50%;
                /*    animation: move 1s ease-in-out infinite alternate;*/
                animation: spin 1s linear infinite;
                animation-delay: 0.3s;
            }
            
            .loader1 {
                width: 20px;
                height: 20px;
                background-color: #000000;
                margin: 2px;
                border-radius: 50%;
                animation: move 1s ease-in-out infinite alternate;
                animation-delay: .15s;
            }
            
            .loader2 {
                width: 20px;
                height: 20px;
                background-color: #BC2031;
                margin: 2px;
                border-radius: 50%;
                animation: move 1s ease-in-out infinite alternate;
                animation-delay: .3s;
            }
            
            @keyframes spin {
                to {
                    transform: rotate(360deg);
                }
            }
            
            @keyframes move {
                0% {
                    transform: translateY(0);
                }
                50% {
                    transform: translateY(-12px);
                }
                100% {
                    transform: translateY(0);
                }
            }
            
            @keyframes move1 {
                from {
                    transform: translateY(0);
                }
                to {
                    transform: translateY(-1px);
                }
            }
            
            @keyframes move2 {
                from {
                    transform: translateY(0);
                }
                to {
                    transform: translateY(-8px);
                }
            }
            
            @keyframes messagemove {
                from {
                    transform: translateX(-300px);
                    opacity: 0;
                }
                to {
                    transform: translateX(0);
                    opacity: 1;
                }
            }
            
            @keyframes messageClear {
                from {
                    transform: translateX(0);
                    opacity: 0;
                }
                to {
                    transform: translateX(-300px);
                    opacity: 1;
                }
            }
            
            #Message {
                position: fixed;
                left: 20px;
                bottom: 20px;
                box-shadow: 0 4px 6px rgba(0,0,0,0.1)  ;
                width: fit-content;
                min-height: 50px;
                display: flex;
                align-items: center;
                gap: 20px;
                padding: 20px;
                justify-content: center;
                border-radius: var(--Radius);
                /* border-radius: var(--Radius);*/
                z-index: 12000;
                opacity: 0;
                transform: translateX(300px);
                pointer-events: auto;
            }
            #Account #Exit{
                background:transparent;
                outline:0;
                border:0;
            }
            .NoOrder{
                font-size: 1rem;
                padding: 50px;
                text-align: center;
                transform: rotate(10deg);
            }
            .NoOrder >a{
                text-decoration: none;
                color: #1D4ED8;
                padding:5px;
                border: 1px solid transparent;

                transition:0.3s;
            }
            .NoOrder >a:hover{
                border-bottom: 1px solid #1D4ED8;
            }
            .scrollcell{
                overflow: hidden;
                overflow-x:scroll ;
            }
            .success
            {
                background-color: #7cf0bc; border:1px solid #0f5132;
            }
            .error{
                background-color: #ffa5ac;  border:1px solid #842029;

            }
            .warrning { background-color: #fff3cd;  border:1px solid #664d03; }
            
            .infomation { background-color: #8ce0f3;  border:1px solid #055160; }
            
            .Show {
                animation: messagemoveIn 0.5s forwards;
            }
            
            .Hide {
                animation: messagemoveOut 0.5s forwards;
            }
            
            @keyframes messagemoveIn {
                from {
                    opacity: 0;
                    transform: translateX(-300px);
                }
                to {
                    opacity: 1;
                    transform: translateX(0);
                }
            }
            
            @keyframes messagemoveOut {
                from {
                    opacity: 1;
                    transform: translateX(0);
                }
                to {
                    opacity: 0;
                    transform: translateX(-300px);
                }
            }
            /*endStyle*/
            /*Login Style*/
            
            #LoginPage {
                background: #F5F7FB;
                display: flex;
                position: fixed;
                align-items: center;
                justify-content: center;
                inset: 0;
                margin: 0 auto;
            }
           
            .outScroll{
                background:transparent;
                animation: out 1.8s ease forwards;
            }
            .inScroll{
            animation: in 1.8s ease forwards;


            }
            @keyframes out {
                from{
                    transform: translateX(20px);
                }
                to
                {
                    transform: translateX(200px);
                }
            }

               @keyframes in {
                from{
                    transform: translateX(200px);

                }
                to
                {
                    transform: translateX(10px);

                }
            }
            #LoginPage .form {
                width: 30%;
                background-color: #FFFFFF;
                padding: 20px 10px;
                border-radius: var(--Radius);
                flex-direction: column;
                gap: 10px;
                border-left: 1px solid #807c7c;
                border-right: 1px solid #807c7c;
                box-shadow: 0 7px 9px rgb(213, 213, 213);
            }

            #FastLogin {
                position: fixed;
                inset: 0;
                display: none;
                align-items: center;
                justify-content: center;
                background: rgba(15, 23, 42, 0.58);
                backdrop-filter: blur(3px);
                z-index: 2000;
                padding: 24px;
            }

            #FastLogin.active {
                display: flex;
            }

            body.modal-open {
                overflow: hidden;
            }

            #FastLogin .form {
                width: min(420px, 90vw);
                background: rgba(255, 255, 255, 0.96);
                border: 1px solid rgba(148, 163, 184, 0.35);
                border-radius: 20px;
                box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
                padding: 24px 22px 20px;
                flex-direction: column;
                gap: 12px;
                position: relative;
            }

            #FastLogin .login-box {
                opacity: 0;
                display: none;
                transform: translateY(18px);
            }

            #FastLogin .login-box.active {
                opacity: 1;
                display: flex;
                transform: translateY(0);
            }

            #FastLogin .form h2 {
                font-size: 1.5rem;
                margin: 0 auto 8px;
                text-align: center;
                color: #111827;
                line-height: 1.6;
            }

            #FastLogin .form .input {
                width: min(100%, 330px);
                margin: 10px auto;
            }

            #FastLogin .form .input input {
                width: 100%;
                padding-right: 46px;
                background: #f8fafc;
                border-radius: 12px;
                border: 1px solid #dbe3ef;
            }

            #FastLogin .form .input input:focus {
                box-shadow: 0 0 0 4px rgba(47, 84, 235, 0.08);
                border-color: #2f54eb;
                padding-right: 18px;
            }

            #FastLogin .form button {
                display: block;
                margin: 0 auto;
                width: min(180px, 70%);
                height: 46px;
                border-radius: 12px;
                font-weight: 600;
                background: linear-gradient(135deg, #2f54eb, #4f73ff);
                box-shadow: 0 10px 18px rgba(47, 84, 235, 0.22);
            }

            #FastLogin .captcha-box {
                margin: 10px auto;
                display: flex;
                align-items: center;
                justify-content: center;
                text-align: center;
            }

            #FastLogin .form #sms,
            #FastLogin .form .linkLogin {
                margin: 0 auto;
                color: #2f54eb;
            }

            #FastLogin #Back {
                position: absolute;
                left: 20px;
                top: 18px;
                font-size: 26px;
                color: #475569;
            }
            
            .form .input img {
                position: absolute;
                border-top-left-radius: var(--Radius);
                border-bottom-left-radius: var(--Radius);
                width: 30px;
                left: 5px;
                top: 5px;
                margin: 0 auto;
                height: 30px;
                z-index: 10;
                background: white;
            }
            
            .form .input {
                position: relative;
                margin: 10px auto;
                width: 60%;
                border: 1px solid rgb(213, 213, 213);
            }
            
            .form .captcha {
                margin: 0 auto;
                display: inline;
            }
            
            .form .captcha img {
                width: 100px;
            }
            
            .form .input input {
                width: 80%;
                height: 40px;
                outline: 0;
                border: 1px solid transparent;
                border-bottom: 1px solid #D1D5DB;
                transition: 0.3s;
                font-size: 1em;
                padding-right: 50px;
                margin: 0 auto;
            }
            /*     * {
                outline: 1px solid red;
            }*/
            
            .form .input input:focus {
                border: 1px solid rgb(81, 124, 233);
                border-radius: var(--Radius);
                box-shadow: 0 0 10px rgb(81, 124, 233);
                padding-right: 20px;
            }
            
            .form .input input:focus+label {
                right: -30%;
                font-size: 1em;
                color:black;
                background-color: transparent;
            }
            
            .form .input label {
                position: absolute;
                background-color: transparent;
                right: 20px;
                color: #6B7280;
                top: 20%;
                font-size: 1.1em;
                transition: 0.3s;
            }
            
            .form h2 {
                margin: 0 auto;
                color: #1F2937;
            }
            
            .login-box {
                opacity: 0;
                display: none;
                transform: translateY(20px);
            }
            
            .login-box.active {
                opacity: 1;
                display: flex;
                transition: 0.3s;
                transform: translateY(0);
            }
            
            .form button {
                background: #2F54EB;
                outline: 1px none !important;
                border-width: 1px;
                font-size: 1em;
                color: white;
                width: 50%;
                height: 40px;
                padding: 5px;
                border-radius: var(--Radius);
                margin: 0 auto;
                box-shadow: 0 0 10px rgb(174, 170, 170);
            }
            
             .form #sms {
                margin: 0 auto;
                border-bottom: 2px solid transparent;
                transition: 0.3s;
                padding: 10px;
                cursor: pointer;
            }
            .linkLogin
            {
                margin: 0 auto;
                border-bottom: 2px solid transparent;
                transition: 0.3s;
                padding: 10px;
                cursor: pointer;
            }
            .BackToSend{
                background:gray !important;
                cursor:not-allowed;
            }
            #timer {
                margin:0 auto;
            }
            .linkLogin:hover{
                border-radius: var(--Radius);
                border-bottom: 2px solid #2F54EB;
                transform: translateY(-2px);
            }

            .form #sms:hover{
                border-radius: var(--Radius);
                border-bottom: 2px solid #2F54EB;
                transform: translateY(-2px);
            }
            
            #Back {
                transition: 0.3s;
                border-radius: 20px;
                width: fit-content;
                font-size: 40px;
            }
            
            #Back:hover {
                color: #e74c3c;
                transform: translateY(-2px);
            }


.simpleform{
    background-color: white;
    box-shadow: 0 0 10px rgb(218,218,221);
    display: flex;
    align-items: center;
    gap:20px;
    width:50%;
    max-width: 500px;
    min-width: fit-content !important;
    margin:10px auto;
    flex-direction: column;
    border-radius: 20px;;
    position: relative;
}
.simpleform h1{
    color:black;
    
    display: flex;
    border:1px solid gray;
    gap:10px;
    justify-content: center;
    width:100%;
    color:blue;
    align-items: center;
    padding: 10px;
    border-top-right-radius: var(--Radius);
    border-top-left-radius: var(--Radius);
    box-shadow: 0 0 5px white;
    color:white;
    background-color: var(--Primary);
    text-align: center;

}
.controlpassword{
        position: relative;
    width:80%;
    margin:10px auto;
    display: flex;
    justify-content: stretch;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    margin:10px;
}
.controlpassword label{font-size: 20px;}
.border{
    padding:30px;
border:1px solid gray;
}
.userpassword{
    margin:5px;
    border:0;
        flex: fit-content !important;

    padding:10px;
    background:rgb(249, 249, 249);
    height: 50px;
    outline: 0;
    border: 1px solid rgb(93, 93, 93);
    border-radius: var(--Radius);

    transition: border-radius 0.3s;
}
.userpassword:focus{
    border: 1px solid rgb(94, 180, 255);
    box-shadow: 0 0 5px rgb(94, 180, 255);
        background:rgb(255, 255, 255);

    border-radius: var(--Radius);
}

h5{
    color:green;
    margin:4px;
}
.controlpassword img{
    width: 15px;
    position: absolute;
    left:4%;
}
body{
    display: flex;
    width: 100%;
}
#MainProfile{
    flex:1;
    width:80%;
}
.deletetext{
      position: absolute;
    left: 9%;
    top: 50px;
}


.form {
    margin: 40px auto;
    padding: 32px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e1e5e8;
    border-radius: 12px;
}
.orderform{
    
        margin: 10px auto;
        width:100%;
        display:flex;
        overflow-x:auto;
    padding:10px 100px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e1e5e8;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
}
.form-wide {
    width: min(calc(100% - 32px), 900px);
}

.form-small {
    width: min(calc(100% - 32px), 380px);
}
.form h2 {
    margin: 0 0 8px;
    font-size: 24px;
    color: #263238;
    text-align: center;
    gap:20px;
    display: flex;
    justify-content: center;
}

.form-description {
    margin: 0 0 28px;
    color: #66727a;
    font-size: 14px;
}

.field {
    position: relative;
    width: min(100%,400px);
    margin: 5px auto;

}

.field label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 600;
    color: #263238;
}
.field img{
    width: 15px;
    position: absolute;
    top: 60%;
    left:4%;
}
.field input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    box-sizing: border-box;
    border: 1px solid #d7dde3;
    border-radius: 8px;
    background: #fff;
    font: inherit;
    outline: none;

    transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus {
    border-color: #1976A8;
    box-shadow: 0 0 0 3px rgba(25, 118, 168, 0.10);
}

.form button {
    width: min(calc(100%-40px),40%  ) !important;
    height: 44px;

    border: 0;
    border-radius: 8px;

    background: #1976A8;
    color: #fff;

    font: inherit;
    font-weight: 600;
    cursor: pointer;

    transition: background 0.2s;
}
.Pointer{
    cursor: pointer;
}
.frm{
    display: flex;
    flex-direction: column;
    width:90%;
    margin: 40px auto;
    padding: 32px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e1e5e8;
    border-radius: 12px;
}
.form button:hover {
    background: #15658f;
}
#ParentCard{
    display: none;
    gap:10px;
    flex-direction: column;
}
@media (max-width:1117px) 
{
        .frm table{
            display: none !important;
    }
       #ParentCard {
        display: flex !important;
    }
}
@media (max-width: 500px) {
    .form {
        margin: 20px auto;
        padding: 22px;
    }
    .form-inputs{
        flex-direction: column;
    }

 
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.form-actions button {
    height: 44px;
    padding: 0 20px;
    border-radius: 8px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    flex:100px !important;
}

.form .btn-primary {
    flex: 1;
    border: none !important;
    background: var(--primary);
    color: white !important;
}

.btn-secondary {
    flex: 1;
    border: 1px solid #D7DDE3 !important;
    background: var(--Secondary) !important;
    color: #263238 !important;
}

.form-inputs{
    width: 100%;
    display: flex;
    gap: 10px;
    margin-top: 24px;
}
textarea{
    width: 100%;
    max-width: inherit;
    min-width: 100%;

    max-height: 200px;
    height: 44px;
    padding: 0 12px;
    box-sizing: border-box;
    border: 1px solid #d7dde3;
    border-radius: 8px;
    background: #fff;
    font: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}




/*Address Style */
/* =========================
   Addresses
========================= */

.addresses-section {
    flex:1;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}


/* Header */

.addresses-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
            margin: 20px 50px;

}

.addresses-header h2 {
    margin: 0 0 6px;
    font-size: 22px;
    color: #263238;
}

.addresses-header p {
    margin: 0;
    font-size: 14px;
    color: #78909c;
}


/* Add button */

.add-address-btn {
    border: 0;
    background: #1976a8;
    color: #fff;
    padding: 11px 17px;
    border-radius: 8px;
    cursor: pointer;

    display: flex;
    align-items: center;
    gap: 8px;

    font-family: inherit;
    font-size: 14px;

    transition: .2s;
}

.add-address-btn:hover {
    background: #15658e;
}


/* =========================
   Address list
========================= */

.addresses-list {
        margin: 20px 50px;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}


/* Card */

.address-card {
    background: #fff;
    border: 1px solid #d7dde3;
    border-radius: 12px;
    overflow: hidden;

    transition:
        box-shadow .2s,
        transform .2s;
}

.address-card:hover {
    box-shadow: 0 7px 22px rgba(38, 50, 56, .08);
    transform: translateY(-2px);
}


/* Card header */

.address-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 17px;
    border-bottom: 1px solid #edf0f2;
}

.address-title {
    display: flex;
    align-items: center;
    gap: 11px;
}

.address-title h3 {
    margin: 0 0 5px;
    font-size: 16px;
    color: #263238;
}


/* Icon */

.address-icon {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;
    background: #f0f6f9;
    color: #1976a8;

    flex-shrink: 0;
}


/* Default badge */

.default-badge {
    display: inline-block;

    padding: 3px 7px;
    border-radius: 5px;

    background: #e8f5e9;
    color: #2e7d32;

    font-size: 11px;
}


/* Actions */

.address-actions {
    display: flex;
    gap: 6px;
}

.address-actions button {
    width: 34px;
    height: 34px;

    border: 0;
    border-radius: 7px;

    background: #f5f7f8;
    color: #607d8b;

    cursor: pointer;

    transition: .2s;
}

.address-edit:hover {
    background: #e3f2fd;
    color: #1976a8;
}

.address-delete:hover {
    background: #ffebee;
    color: #d32f2f;
}


/* =========================
   Address info
========================= */

.address-info {
    padding: 16px 17px;
}

.address-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin-bottom: 12px;

    font-size: 13px;
    line-height: 1.8;
    color: #455a64;
}

.address-row:last-child {
    margin-bottom: 0;
}

.address-row i {
    width: 18px;
    margin-top: 4px;

    color: #90a4ae;
    text-align: center;

    flex-shrink: 0;
}


/* Footer */

.address-footer {
    padding: 12px 17px;
    border-top: 1px solid #edf0f2;

    text-align: left;
}

.set-default-address {
    border: 0;
    background: transparent;

    color: #1976a8;

    font-family: inherit;
    font-size: 12px;

    cursor: pointer;
}

.set-default-address:hover {
    text-decoration: underline;
}


/* =========================
   Modal
========================= */

.address-modal {
    position: fixed;
    inset: 0;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(38, 50, 56, .45);

    z-index: 1000;
}

.address-modal.active,
.address-modal.show {
    display: flex;
}


/* Modal box */

.address-modal-box {
    width: 100%;
    max-width: 650px;
    max-height: 90vh;

    overflow-y: auto;

    background: #fff;
    border-radius: 13px;

    box-shadow: 0 15px 50px rgba(0, 0, 0, .18);
}


/* Modal header */

.address-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    padding: 20px;

    border-bottom: 1px solid #edf0f2;
}

.address-modal-header h2 {
    margin: 0 0 5px;

    font-size: 19px;
    color: #263238;
}

.address-modal-header p {
    margin: 0;

    font-size: 13px;
    color: #78909c;
}

.close-address-modal {
    width: 34px;
    height: 34px;

    border: 0;
    border-radius: 7px;

    background: #f5f7f8;
    color: #607d8b;

    cursor: pointer;
}

.close-address-modal:hover {
    background: #ffebee;
    color: #d32f2f;
}


/* =========================
   Form
========================= */

#addressForm {
    padding: 20px;
}

.address-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
        position: relative;

}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 13px;
    color: #455a64;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;

    padding: 10px 12px;

    border: 1px solid #d7dde3;
    border-radius: 7px;

    background: #fff;
    color: #263238;

    font-family: inherit;
    font-size: 13px;

    outline: none;

    transition: .2s;
}

.form-group textarea {
    resize: vertical;
    min-height: 90px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #1976a8;
    box-shadow: 0 0 0 3px rgba(25, 118, 168, .08);
}


/* Checkbox */

.default-checkbox {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-top: 18px;

    font-size: 13px;
    color: #455a64;

    cursor: pointer;
}

.default-checkbox input {
    width: 16px;
    height: 16px;
    accent-color: #1976a8;
}


/* Modal footer */

.address-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;

    margin-top: 22px;
    padding-top: 17px;

    border-top: 1px solid #edf0f2;
}

.cancel-address,
.save-address {
    padding: 10px 17px;

    border-radius: 7px;

    font-family: inherit;
    font-size: 13px;

    cursor: pointer;
}

.cancel-address {
    border: 1px solid #d7dde3;
    background: #fff;
    color: #546e7a;
}

.cancel-address:hover {
    background: #f5f7f8;
}

.save-address {
    border: 0;
    background: #1976a8;
    color: #fff;
}

.save-address:hover {
    background: #15658e;
}


/* =========================
   Responsive
========================= */

@media (max-width: 800px) {

    .addresses-list {
        grid-template-columns: 1fr;
    }
.orderform{
    /*height: 50px;*/
    flex-direction: column;
}
.classingorder{
    width: 100%;
}
}


@media (max-width: 600px) {

    .addresses-section {
        padding: 12px;
    }

    .addresses-header {
        align-items: stretch;
        flex-direction: column;
    }

    .add-address-btn {
        justify-content: center;
        width: 100%;
    }

    .address-form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: auto;
    }

    .address-modal {
        padding: 10px;
    }

    .address-modal-box {
        max-height: 94vh;
        border-radius: 10px;
    }

    #addressForm {
        padding: 15px;
    }

    .address-modal-header {
        padding: 15px;
    }

}
bo
.floating {
    /*animation: shadow 1.5s ease infinite alternate-reverse;*/
    animation: shadow 1s linear infinite alternate;
}

@keyframes shadow {
    from {
        box-shadow: 0 0 0;
    }

    to {
        box-shadow: 0 0 10px;
    }
}
