@import url('./fonts/style.css');

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

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --whitish: #f2ede2;
    --black-text: #363636;
    --black: #1f1f1f;
    --transparent: #fff0;
    --orange: #ff682c;
    --blacker: #141414;
    --white: white;
    --font-main: 'Arial', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.5;
    --copyyek-black: #0d0c22;
    --co-red: #C8102E;
    --lv-2: 33em;
    --co-yellowish: #fff6e5;
    --co-back: #f0e4cd;
}


body {
    background-color: var(--co-yellowish);
    color: var(--black-text);
    /* font-family: Manrope, sans-serif; */
    font-weight: 600;
    line-height: 110%;
    font-size: 0.8333333333333334vw;

}

::-webkit-scrollbar {
    width: auto;
}

::-webkit-scrollbar-thumb {
    background: #0d0c22;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(20, 20, 20);
}

::-webkit-scrollbar-track {
    background: rgb(242, 237, 226);
    border-left: 1px solid rgb(20, 20, 20);
}

.all-container {
    padding: 0 5rem;
    margin: 0 auto;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    /* border: 1px solid gray; */
    border-radius: 1rem;
    padding: .5rem 2rem;
    margin-top: 1rem;
    background-color: #0d0c220f;
}

.logo-text {
    color: var(--co-red);
    font-size: 2rem;
    line-height: 100%;
    width: 8vw;
    display: flex;
    align-items: center;
}

.logo-path {
    fill: var(--co-red);
    direction: rtl;
}

.sign-in-up-btn {
    border: 1px solid rgba(128, 128, 128, 0.489);
    border-radius: 3rem;
}

.btn-wrap {
    justify-content: center;
    align-items: center;
    font-size: 1em;
    text-decoration: none;
    display: flex;
    position: relative;
    cursor: pointer;
}


.w-inline-block {
    max-width: 100%;
    display: inline-block;
}

.btn-text {
    z-index: 2;
    color: var(--white);
    padding: .8em 1.875em;
    font-size: 1.375rem;
    text-decoration: none;
    position: relative;
}

.btn-text-white {
    z-index: 2;
    color: var(--copyyek-black);
    padding: .8em 0.875em;
    font-size: 1.1rem;
    text-decoration: none;
    position: relative;
}

.btn {
    background-color: var(--copyyek-black);
    color: var(--white);
    border-radius: var(--lv-2);
    outline-width: 1px;
    outline-style: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1.25em 1.875em;
    font-size: 1.1rem;
    line-height: 50%;
    text-decoration: none;
    transition: all .2s;
    display: flex;
    cursor: pointer;
    transition: all .15s ease-out;
}

.btn:hover {
    scale: 1.1;

}




.menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 3rem;

}

.menu li {
    display: inline;
}

.menu a {
    text-align: center;
    text-decoration: none;
    color: black;
    font-size: 1.1rem;
    font-weight: bold;
}

.header-menu-desktop li {
    border: 1px solid rgba(128, 128, 128, 0);
    padding: 1rem;
    border-radius: 1rem;
}

.header-menu-desktop li:hover {
    border: 1px solid gray;
    padding: 1rem;
    border-radius: 1rem;
}

.section-1 {
    background-color: var(--co-back);
    /* border: 1px solid; */
    margin-top: 4rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
    align-items: center;
    padding-left: 2rem;
    padding-right: 2rem;
    border-radius: 2rem;
    padding: 2rem;

}

.description-title {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--copyyek-black);
    margin-bottom: 1rem;
    text-align: start;


}


.description {
    margin-top: 3rem;
    align-self: self-start;
}

.description-text {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--copyyek-black);
    margin-bottom: 1rem;

    text-align: justify;

}

/* description with Mo */
.card {
    /* color used to softly clip top and bottom of the .words container */
    --bg-color: var(--co-back);
    background-color: var(--bg-color);
    padding: 1rem 0rem;
    border-radius: 1.25rem;
    direction: rtl;
}

.loader {
    color: var(--copyyek-black);
    font-weight: 500;
    font-size: 2rem;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    height: 93px;

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-radius: 8px;
    line-height: 4rem;
    justify-content: start
}

.loader p {
    line-height: 3.8rem;
}

.words {
    overflow: hidden;
    position: relative;
    margin-right: 1rem;
}

.words::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(var(--co-back) 5%, transparent 30%, transparent 70%, var(--bg-color) 90%);
    z-index: 20;
}

.word {
    display: block;
    height: 100%;
    padding-left: 6px;
    color: var(--co-red);
    animation: spin_4991 10s infinite;
}

@keyframes spin_4991 {
    10% {
        -webkit-transform: translateY(-102%);
        transform: translateY(-102%);
    }

    25% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    }

    35% {
        -webkit-transform: translateY(-202%);
        transform: translateY(-202%);
    }

    50% {
        -webkit-transform: translateY(-200%);
        transform: translateY(-200%);
    }

    60% {
        -webkit-transform: translateY(-302%);
        transform: translateY(-302%);
    }

    75% {
        -webkit-transform: translateY(-300%);
        transform: translateY(-300%);
    }

    85% {
        -webkit-transform: translateY(-402%);
        transform: translateY(-402%);
    }

    100% {
        -webkit-transform: translateY(-400%);
        transform: translateY(-400%);
    }
}


/* end of des */


.description-img {

    width: 50%;
    height: 50%;
    margin-top: 3rem;
}


.description-btn-container {

    display: flex;
    flex-direction: row;

    margin-top: 2rem;
    width: 100%;
    justify-content: space-evenly;

}

.description-btn-container div {

    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 50%;
}

.btn-order {
    background-color: var(--co-red);
    border: 1px solid var(--co-red);
    border-radius: 2rem;
    padding: .8rem;
    color: var(--white);
    font-size: 1.3rem;
    width: 80% !important;
    text-align: center;
    cursor: pointer;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.5s;
}

.btn-price {
    background-color: var(--copyyek-black);
    border: 1px solid var(--copyyek-black);
    border-radius: 2rem;
    /* padding: .8rem; */
    color: var(--white);
    font-size: 1.3rem;
    width: 80% !important;
    text-align: center;
    cursor: pointer;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) .5s;
}

.description-btn-container div div:hover {
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) .5s;
    width: 90% !important;
}

.description-btn-container a div:hover {
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) .5s;
    width: 90% !important;
}


















.pricing-container {


    max-width: 600px;
    margin: auto;
    border: 1px solid #030303;
    padding: 3rem;
    border-radius: 7px;
    margin-top: 6rem;
    margin-bottom: 4rem;
}

.options {
    margin-bottom: 10px;
}

canvas {
    max-width: 100%;
    height: 300px;
}

input {
    padding: 5px;
    width: 100px;
    margin-top: 10px;
    border: 1px solid #C8102E;
}

h3 {
    color: #C8102E;
}


.section-2 {
    margin-top: 5rem;
    margin-bottom: 4rem;
    background-color: var(--co-back);
    border-radius: 2rem;
}

.calculator-img {
    width: 20%;
    height: auto;
}

.calculator-title {
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--co-red);
    margin-bottom: 1rem;
    text-align: center;
    padding: 2rem;
}

.calculator-container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding-bottom: 1rem;

}

.calculator {

    direction: rtl;

    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: start;

    width: 80%;
    padding: 20px;
    align-items: center;
    width: 100%;


}

.container {
    background: #fff;
    padding: 20px;
    border: 1px solid black;
    border-radius: 7px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    text-align: right;
}

input[type="radio"]:checked::before {
    content: '';
    width: 10px;
    height: 10px;
    background: #C8102E;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.price {
    font-size: 20px;
    font-weight: bold;
    margin-top: 15px;
    padding-top: 20px;
    border-radius: 7px;
    align-self: center;
    width: 360px;
    text-align: center;
}

.calculator-des {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.calculator>div {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}


.radio-inputs {
    position: relative;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    border-radius: 0.5rem;
    background-color: #d6bb87;
    ;
    box-sizing: border-box;
    box-shadow: 0 0 0px 1px rgba(0, 0, 0, 0.06);
    padding: .9rem;
    width: 500px;
    font-size: 1.2rem;
}

.radio-inputs .radio {
    flex: 1 1 auto;
    text-align: center;
}

.radio-inputs .radio input {
    display: none;
}

.radio-inputs .radio .name {
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    border: none;
    padding: 1rem 0;
    color: rgb(176, 177, 177);
    transition: all .15s ease-in-out;
    width: 100%;
    background-color: #f5f5f5;
}

.radio-inputs .radio input:checked+.name {
    background-color: #459ba4;
    font-weight: 600;
    color: white;

}


.input-pages {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;

}

.input-pages>label {
    font-weight: 500;
    font-size: 1.4rem;
    white-space: nowrap;

    width: 40%;

}

.input-pages>input {
    padding: 1rem;
    width: 70%;
    border: none;
    background-color: white;
    border-radius: .5rem;
    text-align: center;
    font-size: 1.4rem;
    margin: 0px;
}

.show-calculated-price {
    min-width: 300px;
    display: flex !important;
    flex-direction: column;
    justify-content: end;
    align-items: center !important;
}

.show-calculated-price .price-title {
    font-size: 1.4rem;
    color: black;

}

.per-sheet-price {
    font-size: 1rem;
    text-align: center;
    color: #459ba4;
}

.fade-in {
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* confetti */
canvas {
    width: 200px;
    height: 200px;
}

/* end confetti */



canvas {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Ensures it doesn't interfere with user interactions */
}

.btn-order:active,
.btn-price:active {
    scale: .95;
}



.section-3 {

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* border: 1px solid black; */
    border-radius: 2rem;
    margin-bottom: 4rem;

}

.steps-title {
    font-size: 2.4rem;
    text-align: center;
    color: var(--co-red);
    margin-bottom: 2rem;
    margin-top: 3rem;
}

.steps-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    gap: 5rem;
    margin-bottom: 2rem;

}

.step {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.step-num {
    background-color: var(--copyyek-black);
    border-radius: 50rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: white;

}

.step-img {

    display: flex;
    justify-content: center;
    height: 100%;
    background-color: var(--co-back);
    border-radius: 2rem;
    width: 15vw;
    height: 15vw;


}



.step-img>img {
    padding: 2rem;
    width: 100%;

}


.step-num>div {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;

}

.step-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--co-red);
}

.step-des {
    font-size: 1.2rem;
    font-weight: 400;
    text-align: center;
    line-height: 1.5;
    padding: 0 1rem;
}



.section-4 {
    border: 1px solid;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    line-height: 2rem;
    border-radius: 1.2rem;
    margin-bottom: 2rem;

}

.description-container {
    position: relative;
    overflow: hidden;
    max-height: 400px;
    transition: max-height 0.5s ease;
    text-align: justify;
}

.description-container.collapsed {
    max-height: 320px;
}

.description-container.expanded {
    max-height: 2000px;
}

.fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom, rgba(249, 249, 249, 0), rgb(255 246 229));
    pointer-events: none;
}

.button-container {
    text-align: center;
    margin-top: 20px;
}

#toggleButton {
    font-family: 'IRANSansX';
    background-color: var(--copyyek-black);
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    scale: 1;
    transition: scale 0.3s ease;
}

#toggleButton:hover {
    scale: 1.05;
}

.highlight {
    font-weight: bold;
    color: #e74c3c;
}




.section-5 {
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 20px;
}

.faq-container {
    margin-top: 40px;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #2c3e50;
}

.faq-question:hover {
    color: #3498db;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease, padding 0.2s ease;
    font-size: 1em;
    color: #555;
    line-height: 1.6;
}

.faq-answer.open {
    max-height: 200px;
    /* Adjust based on content */
    padding-top: 10px;
}

.plus-icon {
    font-size: 1.5em;
    transition: transform 0.2s ease;
}

.plus-icon.open {
    transform: rotate(45deg);
}

.highlight {
    font-weight: bold;
    color: #e74c3c;
}

/* Minimal Line Design */
.faq-item {
    position: relative;
}

.faq-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #ddd;
    border-radius: 2px;
}


footer {
    width: 100%;
    background-color: #f1e9da;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
    padding: 4rem;
    padding-top: 2rem;
    padding-bottom: 1rem;
    border-radius: 2rem 2rem 0 0;
    font-size: 1rem;
}

.footer-container {

    width: 100%;
    /* border-top: 1px solid #000000; */



    display: flex;
    flex-direction: row;
    justify-content: space-evenly;

}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-col h3 {


    border-bottom: 1px solid #000000;
    padding-bottom: .5rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.last-line {
    margin-top: 2rem;
    border-top: 1px solid #4d4c4c;
    text-align: center;
    font-size: 1rem;
    padding: 1rem;
    width: 100%;
    text-align: center;
    line-height: 1.5;
}

.footer-images {
    width: max-content;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: start;

}

.footer-images div {
    display: flex;
    flex-direction: row;
    /* width: 100px;
    height: 100px; */
    border-radius: 2rem;

}

.footer-images img {
    width: 100%;
    height: 100px;
    border-radius: 2rem;
    object-fit: cover;
}

.footer-images>div {
    gap: 1rem;
}


.footer-images>div img {
    border: 2px solid #ffffff;

    border-radius: 1rem;
    width: 100%;


}

.social-media {
    display: flex;
    text-align: center;
    justify-content: center;
}

.social-media a {

    width: 100%;
    align-self: center;

}


.section-4 {
    border: 1px solid;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    line-height: 2rem;
    border-radius: 1.2rem;
    margin-bottom: 2rem;
    font-size: 1rem;
    font-weight: 400;
}

.recent-orders-mobile {
    display: none !important;
}

.nav-bar-fixer {
    display: none !important;
    opacity: 0;
    position: relative;
    width: 100%;
    height: 100px;
}

.mobile-dashboard-nav {
    display: none !important;
}


.mobile-dashboard-nav {
    box-sizing: border-box;
    /* height: calc(100vh - 100px); */
    /* border: 1px solid; */
    border-radius: 1rem;
    min-width: 260px;
    padding: 20px;
    flex-direction: column;
    align-items: center;

    background-color: var(--co-back);
    min-height: calc(100vh - 100px);


}

.mobile-dashboard-nav .profile-button>div {
    display: flex;
    flex-direction: column !important;
}

.folder {
    line-height: 2;
}

#edit-address-form {
    margin: 0px auto;
    display: flex;
    flex-direction: column;
    width: 100%;
}

@media (max-width: 768px) {
    .upload-files-container {
        height: auto;
        min-height: unset;
        gap: 30px;
        padding-right: 0 !important;
    }

    .user-info {
        max-width: 200px;
        white-space: pre-wrap;
        line-height: 1.5;
    }

    .address-box {

        font-size: .8rem;
    }

    /* .dashboard-section{
        display: none !important;
    } */




    .ca-profile-form {

        min-height: calc(100vh - 170px);
    }

    .dashboard-nav {
        display: none !important;
    }

    .order-summary {

        flex-direction: column;
    }

    .folder-details,
    .address-details {

        width: 100%;
    }

    .address-line {
        display: flex;
        margin-bottom: 5px;
        flex-direction: row;

        width: 100%;
    }

    #folder-upload-form {

        flex-direction: column !important;
    }

    .seperator {
        background-color: #acacac !important;
        width: 100% !important;
        border-radius: 1rem;
        height: 1px !important;
        margin-bottom: 29px;
    }

    .folder-container,
    #folder-container {

        line-height: 1rem;
    }

    .mobile-hide {
        display: none !important;

    }

    /* .dashboard-container {
        flex-direction: column-reverse !important;
    } */

    /* .dashboard-nav{
        display: none !important;
    } */
    .nav-bar-fixer,
    .recent-orders-mobile {
        display: block !important;
    }

    .mobile-dashboard-nav {
        width: 100% !important;
        display: flex !important;
    }

    .dashboard-content {

        min-height: calc(100vh - 150px);
    }

    /* .dashboard-section{
        display: none !important;
    } */

    .all-container {
        padding: 0 1rem;
    }

    .logo-text {
        width: 25vw;
    }

    .menu {
        display: none;
    }

    .btn {
        font-size: .9rem;
    }

    .btn-text-white {
        font-size: .9rem;
    }

    .header-container {
        padding: .5rem 1rem;
    }

    .section-1 {
        flex-direction: column;
        margin-top: 1.5rem;
    }

    .description-btn-container {
        flex-direction: column;
        align-items: center;

    }

    .description-img {
        width: 100%;
    }

    .description-btn-container div {
        width: 90%;
        padding: 1.2rem 0rem;
    }

    .description-title {
        font-size: 1.8rem;
        font-weight: 600;
        line-height: 2.2;
        color: var(--copyyek-black);
        margin-bottom: 1rem;
        text-align: start;
        text-align: center;
    }

    .calculator-title {
        font-size: 1.8rem;
    }

    .calculator-des {

        line-height: 1.5;

    }


    .calculator {
        flex-direction: column;
        gap: 2rem;
    }

    .calculator-img {
        width: 50%;
    }

    .calculator>div div {
        width: 100%;
    }

    .input-pages>label {
        font-weight: 500;
        font-size: 1.4rem;
        width: 50%;

    }

    .price {
        line-height: 1.5;
        font-size: 1.1rem;
    }

    .steps-title {
        font-size: 1.8rem;
        text-align: center;
        color: var(--co-red);
        margin-bottom: 2rem;
        margin-top: 3rem;
    }

    .steps-container {
        flex-direction: column;

    }

    .step-img {
        width: 100%;
        /* aspect-ratio: 5; */
        height: 60vw;
    }


    footer {
        padding: 1rem !important;
    }

    .footer-container {

        gap: 2rem;
        line-height: 1.1;
        flex-direction: column;
        font-size: 1rem;

    }

    .last-line {
        margin-bottom: 2rem;
    }

    .faq-question {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        font-size: .8rem;
        font-weight: 500;
        color: #2c3e50;
    }

    .description {
        margin-top: 0rem;
        align-self: self-start;
    }

}


@media (max-width: 1200px) {

    .calculator {
        flex-direction: column;
    }
}


.section-5 {

    font-size: 1rem;
    font-weight: 400;
}

.profile-button {
    text-decoration: none;
    color: var(--co-black);
    transition: all .3s;
}

.profile-button:hover {
    scale: 1.1;
}

footer {
    position: relative;
    bottom: 0;
}


/* start :Customer dashboard */
.all-dashboard {

    width: 100%;
    display: flex;
    justify-content: center;
    font-size: 1rem;
    font-weight: 400;
}

.dashboard-container {
    box-sizing: border-box;

    display: flex;
    gap: 1rem;
    flex-direction: row;
    margin: auto;
    width: 100%;
    max-width: 1360px;


}

.dashboard-content {

    /* border: 1px solid; */
    background-color: var(--co-back);
    width: 100%;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;

    align-items: center;
}

.dashboard-nav {
    box-sizing: border-box;
    /* height: calc(100vh - 100px); */
    /* border: 1px solid; */
    border-radius: 1rem;
    min-width: 260px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;

    background-color: var(--co-back);
    min-height: calc(100vh - 100px);
    ;

}

.dashboard-nav .profile-button>div {
    display: flex;
    flex-direction: column !important;
}

.orders {
    width: 100%;
    display: flex;
    flex-direction: column;

}

.orders-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 1px solid gray;
    padding: 1rem 0;
    align-items: center;
    font-size: 1.2rem;

}

.orders-table tr {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;

}

.orders-table th {
    font-weight: 400;
}


.submit-new-order {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .5rem;
    color: var(--co-red);
    cursor: pointer;
    transition: all .2s;
}

.submit-new-order:hover {
    scale: 1.07;
    transition: all .2s;
}

.add-order-icon {
    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 100%;
    background-color: #F83330;
}


.first-nav {
    margin-top: 1rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.first-nav div {
    background-color: var(--co-yellowish);
    padding: 7px 10px;
    border-radius: 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.active-nav {
    background-color: var(--copyyek-black) !important;
    color: white;
}

.active-nav div {
    background-color: #00000000 !important;
}

.active-nav div svg {
    fill: white;
}

.second-nav {
    margin-top: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding-top: 1rem;

}

.second-nav div {
    background-color: var(--co-yellowish);
    padding: 7px 10px;
    border-radius: 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.new-order-mobile-btn {
    display: none !important;

}

.desktop-hide {
    display: none;
}


.dashboard-section {

    width: 95%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (max-width: 800px) {
    .all-dashboard {
        padding: 1rem !important;
    }

    .all-dashboard {
        font-size: .8rem;
    }

    .orders-header {
        transition: all .3s;
        font-size: .9rem
    }


}

@media (max-width: 768px) {

    .submit-order-section {
        min-height: calc(100vh - 150px);

    }

    .payment-section {

        min-height: calc(100vh - 150px);

    }

    .address-section {

        min-height: calc(100vh - 150px);
    }


    .dashboard-container {
        flex-direction: column;
        min-height: calc(100vh - 100px);
    }

    .all-dashboard {
        font-size: .9rem;
    }


    /* .dashboard-content {
        display: none;
    } */


    .new-order-mobile-btn {
        display: flex !important;
        color: #f83330;
    }

    .new-order-mobile-btn>div {
        background-color: #f83330;
        border-radius: 100%;
        padding: 0px;
    }


    .second-nav {
        padding-top: 0px;
    }

    .desktop-hide {
        display: block !important;
    }



}

/* End : Customer dashboard*/


/* odering steps */
.submit-order-section {

    width: 95%;
    display: flex;
    flex-direction: column;
    justify-self: start;

}

.submit-order-header {

    width: 100%;
    display: flex;
    flex-direction: column;
    font-size: 1.2rem;
    font-weight: 600;
    border-bottom: 1px solid gray;
}

.step-header {
    padding: 1rem 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.order-step-name {
    display: flex;
    align-items: center;
}

.order-folder-number {
    display: flex;
    align-items: center;
}

.cancel-order {
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-items: center;
    gap: .5rem;
}

.cancel-order:hover {
    scale: 1.07;
}

.cancel-order-icon {
    background-color: var(--copyyek-black);
    display: flex;


    border-radius: 100%;
}

.cancel-order-icon svg {
    fill: white;
}

.step-indicator {

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

.step-indicator div {
    background-color: white;
    height: 4px;
    width: 30%;
    border-radius: 1rem;
    margin-bottom: 1rem;

}


.step-indicator .active {
    background-color: #208279;
}

.upload-box-btn {
    font-size: 1rem;
    box-sizing: border-box;
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    background-color: #fcf8f2;
    border-radius: .5rem;
    cursor: pointer;
    border: 1px solid rgb(255, 255, 255);
    white-space: wrap;
    line-height: 1.2;
    margin: 1rem 0px;
    text-align: center;

}

.upload-box-btn>div>p {

    font-size: 1.1rem;
    font-weight: 600;
    color: #208279;
}

.upload-box-btn:hover {
    border: 1px solid #208279;


}

.upload-box-btn svg {
    border: 1px solid #208279;
    border-radius: 100%;
}

.upload-box-btn div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: .5rem;
}

.hidden {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* end of ordering steps */



/* spinner */
/* Spinner styling */
.spinner {

    align-self: center;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #000;
    /* Spinner color */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: auto auto;
    /* Center the spinner */
}

.spinner-in {
    display: none;
    align-self: center;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #000;
    /* Spinner color */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: auto auto;
    /* Center the spinner */
}

/* Keyframes for spinning animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Hide sections by default */
.dashboard-section,
.submit-order-section {

    height: 100%;
}

/* end of spinner */



.file-upload-section {
    width: 95%;
    display: flex;
    flex-direction: column;
    justify-self: start;
}



/* aaaaaaaaaaaaaaaaaaaaa */

.container {
    display: flex;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-container {
    flex: 1;
    /* border-right: 1px solid #ddd; */
}



label {
    display: flex;
    margin-bottom: 8px;
    font-weight: 400;
    flex-direction: row;
    align-items: center;
    white-space: nowrap;

}

input,
select,
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    /* border: 1px solid #ccc; */
    border-radius: 4px;
    font-size: 16px;
    width: min-content;
    font-family: 'IRANSansX';
    font-weight: 500;
    margin-left: 1rem;

}


.upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #333;
    background-color: #fafafa;
    border: 2px dashed #1e9992;
    border-radius: 1.5rem;
    text-align: center;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    gap: 18px;
}

.upload-icon-container {
    color: #1e9992;
    margin-bottom: 5px;
    transition: transform 0.3s ease;
}

.upload-text-main {
    font-size: 1.15rem;
    font-weight: 800;
    font-family: IRANSansX !important;
    line-height: 1.6;
}

.upload-text-sub {
    font-size: 0.85rem;
    color: #888;
    font-weight: 400;
    font-family: IRANSansX !important;
    line-height: 1.6;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .upload-label {
        padding: 20px 10px;
        gap: 12px;
    }

    .form-container,
    .properties-container {
        padding: 0 !important;
        width: 100% !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #folder-upload-form {
        flex-direction: column;
        width: 100%;
        padding: 10px;
    }

    .select-box,
    .expressive-select,
    .description-input,
    #copies-count,
    textarea,
    .inline-group input,
    .checkbox-group input[type="text"],
    .checkbox-group input[type="number"] {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
    }

    .properties-container select {
        width: 100% !important;
    }

    .checkbox-group,
    .inline-group {
        width: 100%;
        justify-content: flex-start;
    }

    .inline-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .upload-text-main {
        font-size: 1rem;
    }

    .upload-text-sub {
        font-size: 0.75rem;
        padding: 0 5px;
    }

    .upload-icon-container svg {
        width: 32px;
        height: 32px;
    }
}

.upload-label:hover,
.upload-label.drag-over {
    background-color: #f0faf9;
    border-style: solid;
    box-shadow: 0 10px 20px rgba(30, 153, 146, 0.05);
}

.upload-label:hover .upload-icon-container,
.upload-label.drag-over .upload-icon-container {
    transform: translateY(-5px);
}

.drag-hint {
    display: none;
}

@media (min-width: 769px) {
    .drag-hint {
        display: inline;
    }
}

#file-list {
    margin-top: 20px;
}

.file-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
}

.file-name {
    flex: 1;
    line-height: 1.2;
    overflow-wrap: anywhere;
    direction: ltr;
    text-align: center;
    margin: auto;

}

.file-progress {
    width: 100px;
    height: 10px;
    background-color: #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.file-progress-bar {
    height: 100%;
    background-color: #4c9faf;
    width: 0%;
}

.file-status {
    margin-left: 10px;
    color: #4c9faf;
    font-weight: bold;
}

#upload-status {
    margin-top: 20px;
    font-weight: bold;
    text-align: center;
}



.folder {
    width: 100%;
    background-color: #fcf8f2;
    height: max-content;
    padding: 1rem;
    border-radius: .5rem;
    margin: 1rem 0rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    font-size: .85rem;
}

.folder div {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    min-width: 82px;
    text-align: justify;
    align-items: flex-start;
    overflow: auto;

}


.folder-container {
    margin-bottom: 1rem;
}



.file-upload-section .submit-order-header {
    border-bottom: 1px solid rgba(128, 128, 128, 0.651);
}







/*  */

/* General Form Styling */
#folder-upload-form {

    margin: 0 auto;
    padding: 20px;

    border-radius: 8px;

    display: flex;
    flex-direction: row;
}

.form-group {
    margin-bottom: 15px;
}

/* Select Boxes */
.select-box {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    font-size: 16px;
    color: #333;
    appearance: none;
    /* Remove default arrow */
}

.select-box:focus {
    outline: none;
    border-color: #4CAF50;
}

/* Description Input */
.description-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    resize: none;
    /* Disable resizing */
}

/* Checkboxes and Conditional Fields */
.hidden {
    display: none;
}

#binding-options,
#description-input-container,
#copies-input-container {
    margin-top: 10px;
    padding-left: 20px;
    border-left: 2px solid #1e1f1e;
}

/* Number Input */
#copies-count {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

/* Disable resizing for textarea */
/* Disable resizing for textarea */
textarea {
    resize: none;
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Style for expressive select boxes */
.expressive-select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
    color: #333;
}

/* Inline groups for radio buttons and inputs */
.inline-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    justify-content: space-between;
}

.inline-group input {
    display: block;
    margin-right: auto;
    margin-top: 0;
    width: 220px;
    border: 1px solid rgba(151, 101, 8, 0.457);
}

.checkbox-group input {

    border: 1px solid rgba(151, 101, 8, 0.457);
}

/* Checkbox group styling */
.checkbox-group {
    margin-bottom: 20px;
}

/* .checkbox-group select {
    max-width: 220px;
} */

input[type="checkbox"] {
    accent-color: black;
    width: 17px;
    height: 17px;
}

/* Hide/show conditional fields */
#binding-options,
#some-files-count,
#series-count,
#folder-description {
    display: none;
}



.properties-container {
    padding-left: 1rem;
    width: 100%;

}

.upload-container {
    width: 100%;
}

.upload-files-container {
    padding-right: 1rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    min-height: 75vh;
}

.seperator {
    background-color: #fff6e5;
    width: 7px;
    border-radius: 1rem;
    height: 75vh;
}

.submit-folder-btn,
.delete-folder-full-btn {
    font-family: IRANSansX !important;
    font-size: 1.1rem;
    padding: 10px 30px;
    border-radius: 2.5rem;
    cursor: pointer;
    transition: all .3s;
    text-align: center;
    font-weight: bold;
    align-self: center;
    width: auto;
    min-width: 150px;
    margin-top: 10px;
}

.submit-folder-btn {
    background-color: var(--co-red);
    border: 1px solid var(--co-red);
    color: white;
}

.delete-folder-full-btn {
    background-color: transparent;
    border: 1px solid var(--co-red);
    color: var(--co-red);
}

@media (max-width: 768px) {
    .upload-files-container {
        height: auto;
        min-height: unset;
        gap: 30px;
        padding-right: 0 !important;
    }

    .submit-folder-btn,
    .delete-folder-full-btn {
        min-width: unset;
        width: 100%;
        max-width: none;
        font-size: 0.82rem;
        padding: 15px 5px;
        white-space: nowrap;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #edit-folder-btn-row {
        gap: 10px !important;
        padding: 0 10px;
        display: flex;
        width: 100%;
    }
}

.submit-folder-btn:hover {
    scale: 1.05;
    background-color: #a00d25;
}

.delete-folder-full-btn:hover {
    background-color: var(--co-red);
    color: white;
    scale: 1.05;
}

.submit-folder-btn:disabled {
    background-color: #cccccc;
    border-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
    scale: 1 !important;
}


.expressive-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background-color: #fff;
    color: #333;
    font-size: 1rem;
    font-family: 'IRANSansX' !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 15px center;
    background-size: 16px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.expressive-select:hover {
    border-color: #bdbdbd;
}

.expressive-select:focus {
    outline: none;
    border-color: #1e9992;
    box-shadow: 0 0 0 3px rgba(30, 153, 146, 0.1);
}

/* When an option is selected, make text bold and black */
.expressive-select.selected {
    color: #000;
    font-weight: 500;
}

/* Ensure dropdown options remain black */
.expressive-select option {
    color: #000;
    font-weight: normal;
}

.file-header {
    display: flex;
    justify-content: space-between;
    gap: 5px;
    width: 100%;
    align-items: center;
}

.file-progress {
    width: 100%;
}

.file-progress-container {
    padding: 1rem;
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
}

.delete-file-btn {
    border: none;
    cursor: pointer;
    background-color: transparent;
}

.cancel-upload-btn {
    border: none;
    cursor: pointer;
    background-color: transparent;

}

.submit-folder-btn:disabled {
    background-color: #cccccc;
    /* Gray background */
    color: #666666;
    /* Dark gray text */
    cursor: not-allowed;
    /* Show "not allowed" cursor */
}


.folder div>div>div:first-child {
    width: 90px;
    white-space: nowrap;
}

/* .folder div>div>div:nth-child(2){
    width: 95%;
  
} */


#nextBtnUpload {
    background-color: var(--co-red);
    font-family: 'IRANSansX';
    font-size: 1.2rem;
    padding: 5px;
    border: none;
    border-radius: 2rem;
    align-self: end;
    color: white;
    width: 100px;
    cursor: pointer;
    transition: all .3s;
    margin-top: auto;

    text-align: center;
    cursor: pointer;
}

#nextBtnUpload:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

#nextBtnUpload:hover {
    scale: 1.08;
}

.add-address-section {
    height: 100%;
    width: 95%;
    display: flex;
    flex-direction: column;
}

#address-form-container {
    width: 100%;
    /* max-width: 400px; */
    /* margin: 50px auto; */
    padding: 20px;
    /* background: #ffffff; */
    /* box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); */
    border-radius: 8px;
    text-align: center;
    height: 100%;
}

#address-form {

    margin: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#address-form>* {
    max-width: 400px;

}

#address-form input,
#address-form select,
#address-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    margin: .5rem auto;
}

#address-form textarea {
    height: 80px;
}

#address-form button {
    font-family: 'IRANSansX';
    font-size: 1.1rem;


    transition: background 0.3s ease;
    margin-top: auto;
    align-self: end;
    background-color: var(--co-red);
    font-family: 'IRANSansX';
    padding: 8px;
    border: none;
    border-radius: 2rem;
    align-self: end;
    color: white;
    width: 120px;
    cursor: pointer;
    transition: all .3s;
    margin-top: auto;
    text-align: center;
    cursor: pointer;
}

#address-form button:hover {
    scale: 1.08;
}

.address-section {
    display: flex;
    flex-direction: column;
    width: 95%;
    height: 100%;
}




.user-address-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Adds space between address boxes */
    margin-top: 1rem;
    font-size: .85rem;
    line-height: 1.1;

}

.address-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    /* border: 1px solid #ddd; */
    padding: 10px;
    border-radius: 8px;
    background-color: #fcf8f2;
    display: flex;

    flex-direction: row;
    align-items: center;
}

.address-label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: start;
    margin-bottom: 0px;
    border: 1px solid rgba(255, 255, 255, 0);
    padding: 10px;
    cursor: pointer;
    width: 100%;
}

.address-line {
    display: flex;
    margin-bottom: 5px;
    align-items: center;
    width: 100%;
}

.add-new-address {
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    padding: 10px;
    background-color: #e0f7fa;
    border-radius: 8px;
}

.next-step-btn-confirm-address {
    background-color: var(--co-red);
    font-family: 'IRANSansX';
    font-size: 1.2rem;
    padding: 5px;
    border: none;
    border-radius: 2rem;
    align-self: end;
    color: white;
    width: 100px;
    cursor: pointer;
    transition: all .3s;
    margin-top: auto;
    text-align: center;
    cursor: pointer;
}

.next-step-btn-confirm-address:hover {
    scale: 1.08;
}

/* Ensure the radio button is properly styled */
.address-box input[type="radio"] {
    position: relative;
    /* Keeps it in place */
    margin: 0 5px;
    /* Adds spacing */
    cursor: pointer;

}

/* Optional: Style the label when selected */
.address-box input[type="radio"]:checked+.address-label {
    border: 1px solid #1e999300;

    color: #363636;
    border-radius: 5px;


}

.address-line strong {
    width: 88px;
}

/* Prevent any unexpected pseudo-elements */
.address-box input[type="radio"]::before,
.address-box input[type="radio"]::after {
    content: none !important;
}


/* Hide default radio button */
.address-box input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 6px;
    width: 10px;
    height: 10px;
    border: 5px solid #999;
    /* Default border color */
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

/* Style for checked radio button */
.address-box input[type="radio"]:checked {
    border-color: #1e9992;
    /* Border color when selected */
}

/* Create custom inner circle when checked */
.address-box input[type="radio"]:checked::before {
    content: "";
    width: 6px;
    height: 6px;
    background-color: #007bff;
    /* Inner circle color */
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}



.address-box-btn {
    font-size: 1rem;
    box-sizing: border-box;
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    background-color: #fcf8f2;
    border-radius: .5rem;
    cursor: pointer;
    border: 1px solid rgb(255, 255, 255);
    white-space: wrap;
    line-height: 1.2;
    margin: 1rem 0px;

}

.address-box-btn>div>p {

    font-size: 1.1rem;
    font-weight: 600;
    color: #208279;
}

.address-box-btn:hover {
    border: 1px solid #208279;


}

.address-box-btn svg {
    border: 1px solid #208279;
    border-radius: 100%;
}

.address-box-btn div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: .5rem;
}

.address-footer {
    width: 100%;
    margin-top: auto;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: end;
}



.next-step-btn-confirm-address {

    opacity: 0.5;
}


.toast {
    visibility: hidden;
    min-width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 999999999;
    line-height: 1.4;
}

.toast.show {
    visibility: visible;
    opacity: 1;
}

.toast.hide {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}


.error-message {
    color: red;
    font-size: 14px;
    display: none;
    margin-top: 5px;
}

button:disabled {
    background-color: gray;
    cursor: not-allowed;
    opacity: 0.5;
}

#address-form span {
    margin: 0 auto;
    color: rgb(103, 6, 6);
}



.address-label:hover {
    /* border: 1px solid #1e9992; */

    border-radius: 5px;
}





.payment-section {
    width: 95%;
    direction: rtl;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.user-profile-edit-section {
    width: 95%;
    direction: rtl;
    height: 100%;
    display: flex;
    flex-direction: column;

}

.order-summary {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.folder-details,
.address-details {
    flex: 1;
    border: 1px solid #dddddd00;
    padding: 15px;
    border-radius: 5px;
    background: #fff6e5;
    overflow-wrap: break-word;
    white-space: normal;
    text-align: right;
    min-width: 0;
    height: 100%;
}

.folder-details h3,
.address-details h3 {
    margin-bottom: 10px;
}

.folder-details table,
.shipment-summary table {
    width: 100%;
    border-collapse: collapse;
}

.folder-details th,
.folder-details td,
.shipment-summary td {
    text-align: right;
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

.shipment-summary {
    margin-top: 20px;
    text-align: right;
    margin-top: auto;

    padding: 15px;
    border-radius: 5px;
    background-color: #fff6e5;
}

#pay-button {
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 20px;
}


.payment-section table {
    width: 100%;
    border-collapse: collapse;
}

.payment-section table th,
.payment-section table td {
    border: 1px solid rgb(96, 96, 96);
    /* White border for cell separation */
    border-radius: 4px;
    padding: 10px;
    text-align: center;
    background: transparent;
    /* Keep the background unchanged */
    color: inherit;
    /* Inherit text color */
}


.payment-section table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid rgb(236, 17, 17);
    /* White border around the table */
    border-radius: 4px;
    /* Rounded corners for the table */
    overflow: hidden;
    /* Ensures the border-radius is applied */
}

.payment-section table th,
.payment-section table td {
    border: 1px solid rgb(234, 118, 118);
    /* White borders inside */
    padding: 10px;
    text-align: center;
    background: transparent;
}

/* Make sure the corners of the outer border are rounded */
.payment-section table tr:first-child th:first-child {
    border-top-left-radius: 4px;
}

.payment-section table tr:first-child th:last-child {
    border-top-right-radius: 4px;
}

.payment-section table tr:last-child td:first-child {
    border-bottom-left-radius: 4px;
}

.payment-section table tr:last-child td:last-child {
    border-bottom-right-radius: 4px;
}

.address-details {
    line-height: 1.5;
}


#pay-button {
    background-color: var(--co-red);
    font-family: 'IRANSansX';
    font-size: 1.2rem;
    padding: 5px;
    border: none;
    border-radius: 2rem;
    align-self: end;
    color: white;
    width: 100px;
    cursor: pointer;
    transition: all .3s;
    margin-top: auto;
    text-align: center;
    cursor: pointer;
}

#pay-button:hover {
    scale: 1.08;
}



.order-details-btn {
    background-color: #10798f;
    font-family: 'IRANSansX';
    font-weight: 400;
}

.order-details-section {
    width: 95%;
}

.order-details> {
    margin-top: 1rem;
    line-height: 1.6;
}

.order-details-btn:hover {
    scale: 1.05;
}

.order-details-firsttwo {
    line-height: 1.8;
    margin: 1rem 0px;
    color: #564308;
    background-color: #fcf8f2;
    padding: 12px;
    border-radius: 7px;
    word-wrap: break-word;
}















/* payment res */

/* Payment Result Pages */
.payment-result {
    max-width: 600px;
    margin: 2rem auto;
    padding: 20px;
    border: none;
}

.payment-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin: auto;
    width: 100%;
    font-size: .9rem;
    line-height: 1.6;
}

.payment-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-icon.success {
    background: #e8f5e9;
    color: #4caf50;
}

.payment-icon.failed {
    background: #ffebee;
    color: #f44336;
}

.payment-icon svg {
    width: 40px;
    height: 40px;
    fill: currentColor;
}

.payment-result .order-details {
    background: #f5f5f5;
    border-radius: 6px;
    padding: 15px;
    margin: 20px 0;
    text-align: right;
}

.payment-result .detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.action-buttons {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.payment-result .btn {
    display: inline-block;
    padding: 15px 20px;
    border-radius: 2rem;
    text-decoration: none;
    margin: 0 5px;
}

.payment-result .btn-primary {
    background: #9f1111;
    color: white;
}

.payment-result .btn-link {
    color: #ffffff;
    background-color: #000;
}

.payment-result .btn:hover {
    scale: 1.05;
}


/* Add these styles */
#registration-form {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rtl .form-group input[type="text"] {
    text-align: right;
    direction: rtl;
}





































.loading-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-modal.active {
    opacity: 1;
    visibility: visible;
}

.loading-content {
    background-color: white;
    padding: 30px;
    border-radius: 7px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    font-size: 18px;
    color: #333;
    margin-top: 15px;
    font-weight: 500;
}

.loading-spinner-svg {
    margin: 0 auto 20px;
    display: block;
}

.loading-content {
    /* ... existing styles ... */
    background-color: white;
    padding: 30px;
    border-radius: 7px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(52, 152, 219, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
    }
}


.loading-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-modal.active {
    opacity: 1;
    visibility: visible;
}

.loading-content {
    background-color: white;
    padding: 30px;
    border-radius: 7px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

.loading-spinner-svg {
    margin: 0 auto 20px;
    display: block;
}

.loading-text {
    font-size: 18px;
    color: #333;
    margin-top: 15px;
    font-weight: 500;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(5, 176, 188, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(200, 16, 46, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(200, 16, 46, 0);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}








.folder-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.folder-actions {
    display: flex;
    gap: 0.5rem;
}

.edit-folder-btn,
.delete-folder-btn {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s;
}

.edit-folder-btn {
    background-color: #f0f0f0;
    color: #333;
}

.edit-folder-btn:hover {
    background-color: #e0e0e0;
}

.delete-folder-btn {
    background-color: #ffebee;
    color: #c62828;
}

.delete-folder-btn:hover {
    background-color: #ffcdd2;
}

.edit-folder-btn svg,
.delete-folder-btn svg {
    fill: currentColor;
}





/* Custom Auth Profile Edit Styles */
.ca-profile-edit-container {
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Vazir', Tahoma, sans-serif;
    direction: rtl;
}

.ca-profile-title {
    color: #4a5568;
    text-align: center;
    margin-bottom: 25px;
    font-size: 22px;
}

.ca-profile-form {

    padding: 25px;
    border-radius: 7px;

    display: flex;
    flex-direction: column;
    height: 100%;
}

.ca-form-group {
    margin-bottom: 20px;
}

.ca-form-label {
    display: block;
    margin-bottom: 8px;
    color: #4a5568;
    font-weight: 500;
}

.ca-form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
    max-width: 400px;
}

.ca-form-input:focus {
    border-color: #4f46e5;
    outline: none;
}

.ca-submit-btn {
    background: var(--co-red);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 2rem;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
    font-family: 'Vazir';
    margin-top: auto;
    max-width: 150px;
    margin-right: auto;
    font-family: inherit;
}

.ca-submit-btn:hover {
    scale: 1.05;
}

.ca-submit-btn--loading {
    opacity: 0.7;
}

.ca-profile-error {
    color: #dc3545;
    padding: 20px;
    text-align: center;
    background: #f8d7da;
    border-radius: 8px;
    margin: 20px 0;
}

/* Toast Notification */
.ca-toast-notification {
    position: fixed;
    bottom: 30px;
    left: 30px;
    color: white;
    padding: 15px 25px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 1000;
    font-family: 'Vazir';
}

.ca-toast-notification--success {
    background: #38a169;
}

.ca-toast-notification--error {
    background: #e53e3e;
}

.ca-toast-message {
    display: inline-block;
}



/* Persian Modal Styles */


/* Persian Modal Styles */
.ca-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-family: 'iransansX';
    direction: rtl;
}

.ca-modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.ca-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    /* Semi-transparent white */
    backdrop-filter: blur(3px);
    /* This creates the blur effect */
    -webkit-backdrop-filter: blur(3px);
    /* For Safari */
    cursor: pointer;
    display: flex;
    transition: opacity 0.2s ease-out;
}


.ca-modal__container {
    background-color: #fff;
    width: 90%;
    max-width: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    position: relative;
    margin: auto auto;
    cursor: default;
}

.ca-modal[aria-hidden="false"] .ca-modal__container {
    transform: translateY(0);
}

.ca-modal__content {
    padding: 30px;
    text-align: center;
}

.ca-modal__icon {
    margin-bottom: 20px;
}

.ca-modal__title {
    color: #2d3748;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.ca-modal__message {
    color: #4a5568;
    line-height: 1.6;
}

/* Spinner Animation */
.ca-spinner {
    animation: spin 1s linear infinite;
    fill: #1e9992;
    /* Changed from purple to blue */
}

.ca-spinner.success {
    animation: none;
    fill: #1e9992;
    /* Green for success */
}

.ca-spinner.error {
    animation: none;
    fill: #ef4444;
    /* Red for error */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Success/Error States */
.ca-modal--success .ca-modal__title {
    color: #1e9992;
}

.ca-modal--error .ca-modal__title {
    color: #ef4444;
}


.ca-spinner.stopped {
    animation: none;
}











.ca-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.ca-modal[aria-hidden="false"] {
    display: flex;
}













/* Address Delete Modal Styles */
.address-delete-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Tahoma, Arial, sans-serif;
    direction: rtl;
}

.address-delete-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.address-delete-title {
    color: #F44336;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.address-delete-confirm-text {
    line-height: 2;
    color: #555;
}

.address-delete-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.address-delete-cancel-btn {
    padding: 0.5rem 1rem;
    background: #f1f1f1;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}

.address-delete-cancel-btn:hover {
    background: #e0e0e0;
}

.address-delete-confirm-btn {
    padding: 0.5rem 1rem;
    background: #F44336;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}

.address-delete-confirm-btn:hover {
    background: #d32f2f;
}

.address-delete-confirm-btn:disabled {
    background: #ffcdd2;
    cursor: not-allowed;
}

.address-delete-loading-content {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.address-delete-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #F44336;
    border-radius: 50%;
    animation: address-delete-spin 1s linear infinite;
}

.address-delete-notification {
    display: none;
    margin: 1rem 0;
    font-weight: bold;
}

@keyframes address-delete-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Toast Notification Styles */
.address-action-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    border-radius: 4px;
    color: white;
    font-family: Tahoma, Arial, sans-serif;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    direction: rtl;
    max-width: 90%;
    text-align: center;
}

.address-action-toast-success {
    background-color: #4CAF50;
}

.address-action-toast-error {
    background-color: #f44336;
}

.address-action-toast-show {
    opacity: 1;
}


.container-404 {

    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    width: 90%;
    max-width: 600px;
    margin: 4rem auto;
    line-height: 2;
    text-align: center;
}


.img-404 {
    width: 100%;
    max-width: 500px;
}



#pay-button {
    transition: all 0.3s ease;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 2rem;
    background-color: #208279;
    color: white;
    border: none;
    cursor: pointer;
}

#pay-button:hover {
    background-color: #1da89f;
}

#pay-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}


/* Payment Modal Styles */
.payment-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    line-height: 1.5;
}

.payment-modal.active {
    display: flex;
    opacity: 1;
}

.payment-modal-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.payment-modal.active .payment-modal-content {
    transform: translateY(0);
}

.payment-modal-title {
    color: #2c3e50;
    margin-top: 20px;
    font-size: 1.3rem;
}

.payment-modal-text {
    color: #7f8c8d;
    margin-top: 10px;
    font-size: 0.9rem;
}

/* Animated Spinner */
.payment-spinner {
    width: 70px;
    height: 70px;
    margin: 0 auto;
}

.payment-spinner-circle {
    animation: rotate 2s linear infinite;
    height: 100%;
    width: 100%;
}

.payment-spinner-circle .path {
    stroke: #208279;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }

    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

/* Error State Styles */
.payment-error {
    text-align: center;
    padding: 20px;
    line-height: 1.5;
}

.payment-error h3 {
    color: #e74c3c;
    margin: 15px 0 10px;
}

.payment-error p {
    color: #7f8c8d;
    margin-bottom: 20px;
}

.payment-error button {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.payment-error button:hover {
    background: #c0392b;
}

/* Button Processing State */
#pay-button.processing {
    position: relative;
    color: transparent;
}

#pay-button.processing::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}



/* Base Styles */


.elegant-pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
}

.pricing-header h1 {
    font-size: 2.2rem;
    color: #208279;
    margin-bottom: 10px;
    font-weight: 700;
}

.last-updated {
    color: #C8102E;
    font-size: 0.95rem;
}

/* Filter Section */
.filter-section {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.filter-group {
    margin-bottom: 20px;
}

.filter-title {
    font-size: 1.1rem;
    color: #208279;
    margin-bottom: 12px;
    font-weight: 600;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: #f8f8f8;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #141414;
}

.filter-btn.active {
    background: #208279;
    color: white;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Printing Tables */
.printing-tables-container {
    margin-bottom: 40px;
}

.printing-table-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: none;
}

.printing-table-card.visible {
    display: block;
    animation: fadeIn 0.5s ease;
}

.table-header {
    background: #208279;
    padding: 15px 20px;
}

.table-header h3 {
    color: white;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.paper-size {
    background: #C8102E;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.9rem;
}

.table-responsive {
    overflow-x: auto;
    padding: 0 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

.table-responsive th {
    padding: 15px 12px;
    text-align: right;
    /* background: #fff6e5; */
    font-weight: 600;
    color: #208279;
    font-size: 1.2 rem;
}

.printing-table-card td {
    text-align: start;
}

td {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
}

.pages-col {
    font-weight: 500;
    font-size: 1rem;
}

.price-col {
    font-family: "IRANSansX";
    color: #C8102E;
    font-weight: 600;
    font-size: 1.2rem;
}

tr:hover {
    background: #f9f9f9;
}

/* Binding Section */
.binding-section {
    margin-top: 40px;
}

.section-header {
    margin-bottom: 25px;
    text-align: center;
}

.section-header h2 {
    font-size: 1.6rem;
    color: #208279;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.divider {
    height: 3px;
    width: 80px;
    background: #C8102E;
    margin: 0 auto;
    border-radius: 3px;
    margin-top: .8rem;
}

.binding-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.binding-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.binding-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.card-content {
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 15px;
}

.binding-icon svg {
    width: 40px;
    height: 40px;
    fill: #208279;
}

.binding-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #141414;
}

.price {
    margin: 0;
    color: #C8102E;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-header h1 {
        font-size: 1.8rem;
    }

    .filter-buttons {
        justify-content: center;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .binding-cards {
        grid-template-columns: 1fr;
    }

    th,
    td {
        padding: 10px 8px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .elegant-pricing-container {
        padding: 15px;
    }

    .pricing-header h1 {
        font-size: 1.5rem;
    }

    .table-header h3 {
        font-size: 1rem;
        /* flex-direction: column; */
        align-items: center;
        gap: 5px;
    }

    .paper-size {
        align-self: flex-start;
    }
}


/* Base Styles with IRANSansX */




/* Header */
.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
}

.pricing-header h1 {
    font-size: 2.2rem;
    color: #208279;
    margin-bottom: 10px;
    font-weight: 700;
}

.last-updated {
    color: #C8102E;
    font-size: 0.95rem;
}

/* Filter Section */
.filter-section {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: #f8f8f8;
    border: none;
    border-radius: 50px;
    font-family: 'IRANSansX', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #141414;
}

/* Printing Tables */
.printing-table-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: none;
}

.printing-table-card.visible {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* Binding Icons */
.binding-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f7f6;
    border-radius: 12px;
}

.binding-icon svg {
    width: 28px;
    height: 28px;
    fill: #208279;
}

.binding-icon.spiral svg,
.binding-icon.spring svg {
    fill: #C8102E;
}

.binding-icon.thermal svg {
    fill: #208279;
}

.binding-icon.hardcover svg {
    fill: #141414;
}

.binding-icon.staple svg {
    fill: #C8102E;
}

/* Persian Numbers */
.persian-number {
    font-family: 'IRANSansX', sans-serif;
    font-feature-settings: "numr";
}

/* Responsive */
@media (max-width: 768px) {
    .filter-buttons {
        justify-content: center;
    }

    .binding-cards {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 480px) {
    .pricing-header h1 {
        font-size: 1.6rem;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .binding-icon {
        width: 40px;
        height: 40px;
    }

    .binding-icon svg {
        width: 24px;
        height: 24px;
    }
}








/* start of contact us */
/* Call Us Page Styles */
/* New Contact Options Styles */
/* Line-Based Contact Page Styles */
.copyyek-line-contact {
    background-color: #fff6e5;
    padding: 60px 20px;
    font-family: inherit;
    direction: rtl;
    text-align: right;
}

.copyyek-line-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
.copyyek-line-header {
    text-align: center;
    margin-bottom: 60px;
}

.copyyek-line-title {
    color: #141414;
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.copyyek-line-divider {
    width: 60px;
    height: 2px;
    background: #208279;
    margin: 0 auto 20px;
    position: relative;
}

.copyyek-line-divider:after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border: 2px solid #C8102E;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff6e5;
}

.copyyek-line-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-top: 0;
}

/* Contact Grid */
.copyyek-line-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.copyyek-line-card {
    background: #ffffff;
    padding: 30px;
    position: relative;
    text-align: center;
    border-radius: 1rem;
}

.copyyek-line-card-border {
    position: absolute;
    top: 0;
    right: 0;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    /* border: 1px solid #e0e0e0; */
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 0;
}

.copyyek-line-card:hover .copyyek-line-card-border {
    border-color: #208279;
    width: 100%;
    height: 100%;
    top: -5px;
    right: -5px;
}

.copyyek-line-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copyyek-line-icon svg {
    width: 30px;
    height: 30px;
}

.copyyek-line-card-title {
    color: #141414;
    font-size: 1.3rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.copyyek-line-card-title:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 1px;
    background: #ddd;
    bottom: -8px;
    right: 50%;
    transform: translateX(50%);
    transition: width 0.3s ease;
}

.copyyek-line-card:hover .copyyek-line-card-title:after {
    width: 50px;
    background: #208279;
}

.copyyek-line-card-text {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.copyyek-line-card-text a {
    color: inherit;
    text-decoration: none;
    position: relative;
}

.copyyek-line-card-text a:after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 1px;
    background: #208279;
    transition: width 0.3s ease;
}

.copyyek-line-card-text a:hover:after {
    width: 100%;
}

/* Map Section */
.copyyek-line-map {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.copyyek-line-map-border {
    position: absolute;

}

.copyyek-line-map:hover {


    width: 100%;

}

.copyyek-line-map iframe {
    display: block;
    border: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .copyyek-line-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .copyyek-line-title {
        font-size: 1.8rem;
    }

    .copyyek-line-card {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .copyyek-line-contact {
        padding: 40px 15px;
    }

    .copyyek-line-header {
        margin-bottom: 40px;
    }

    .copyyek-line-title {
        font-size: 1.5rem;
    }

    .copyyek-line-subtitle {
        font-size: 1rem;
    }
}

/* end of contact us */




/* about us */
/* CopyOne About Page - Scoped Styles */
.copyone-about-page {
    background-color: #fff6e5;
    color: #141414;
    line-height: 1.8;
    text-align: right;
    direction: rtl;
    overflow-x: hidden;
}

.copyone-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.copyone-about-hero {
    position: relative;
    padding: 80px 0 120px;
    color: white;
    overflow: hidden;
}

.copyone-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.copyone-hero-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.copyone-hero-desc {
    font-size: 1.2rem;
    max-width: 700px;
    margin-bottom: 40px;
}

.copyone-hero-image img {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.copyone-wave-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
}

.copyone-wave-shape svg {
    width: 100%;
    height: 100%;
}

/* About Section */
.copyone-about-section {
    padding: 80px 0;
}

.copyone-about-grid {
    display: flex;
    align-items: center;
    gap: 60px;
}

.copyone-about-text {
    flex: 1;
}

.copyone-section-title {
    font-size: 2.2rem;
    color: #208279;
    margin-bottom: 30px;
    position: relative;
}



.copyone-about-para {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.copyone-about-img-container {
    flex: 1;
    position: relative;
}

.copyone-about-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.copyone-floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    z-index: 0;
}

.copyone-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.copyone-shape-1 {
    width: 150px;
    height: 150px;
    top: -30px;
    right: -30px;
}

.copyone-shape-2 {
    width: 100px;
    height: 100px;
    bottom: -20px;
    left: -20px;
}

.copyone-shape-3 {
    width: 70px;
    height: 70px;
    top: 50%;
    left: -15px;
}

.copyone-centered-title {
    text-align: center;
    border-bottom: 1px #c8102e solid;
    width: max-content;
}

/* Features Section */
.copyone-features-section {
    padding: 80px 0;
    background-color: rgba(255, 255, 255, 0);
    border-radius: 1rem;
}

.copyone-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.copyone-feature-card {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.copyone-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.copyone-feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 30px;
}

.copyone-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.copyone-feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #141414;
}

.copyone-feature-desc {
    font-size: 1rem;
    color: #555;
}

/* Services Section */
.copyone-services-section {
    padding: 80px 0;
}

.copyone-services-tabs {
    background-color: rgb(255 255 255 / 49%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgb(0 0 0 / 23%);
}

.copyone-tab-buttons {

    display: flex;
    border-bottom: 2px solid #eee;
}

.copyone-tab-button {
    font-family: inherit;
    flex: 1;
    padding: 20px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #777;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copyone-tab-button.copyone-tab-active {
    color: #C8102E;
    border-bottom: 3px solid #C8102E;
}

.copyone-tab-content {
    display: none;
    padding: 40px;
}

.copyone-tab-content.copyone-tab-show {
    display: block;
}

.copyone-service-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.copyone-service-img-wrap {
    flex: 1;
}

.copyone-service-img {
    width: 100%;
    border-radius: 15px;
}

.copyone-service-text {
    flex: 1;
}

.copyone-service-title {
    font-size: 1.5rem;
    color: #141414;
    margin-bottom: 20px;
}

.copyone-service-para {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.copyone-service-list {
    list-style-type: none;
    padding: 0;
}

.copyone-service-item {
    position: relative;
    padding-right: 25px;
    margin-bottom: 10px;
    font-size: 1rem;
}

.copyone-service-item::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: #208279;
    font-weight: bold;
}

/* CTA Section */
.copyone-cta-section {
    padding: 80px 0;
    color: white;
    text-align: center;
}

.copyone-cta-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.copyone-cta-desc {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.copyone-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.copyone-cta-btn {
    display: inline-block;
    padding: 15px 30px;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.copyone-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .copyone-about-grid {
        flex-direction: column-reverse;
    }

    .copyone-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .copyone-service-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .copyone-hero-title {
        font-size: 2.2rem;
    }

    .copyone-section-title,
    .copyone-cta-title {
        font-size: 1.8rem;
    }

    .copyone-features-grid {
        grid-template-columns: 1fr;
    }

    .copyone-tab-buttons {
        flex-direction: column;
    }

    .copyone-tab-button {
        text-align: center;
    }

    .copyone-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .copyone-cta-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .copyone-about-hero {
        padding: 60px 0 100px;
    }

    .copyone-hero-title {
        font-size: 1.8rem;
    }

    .copyone-hero-desc {
        font-size: 1rem;
    }

    .copyone-about-section,
    .copyone-features-section,
    .copyone-services-section,
    .copyone-cta-section {
        padding: 60px 0;
    }

    .copyone-tab-content {
        padding: 20px;
    }
}

/* end of about us */




.footer-col ul li a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--co-red);
}




/* Terms Page Styles */
.copyyek-line-terms {
    background-color: #fff6e5;
    padding: 60px 20px;
    font-family: inherit;
    direction: rtl;
    text-align: right;
    line-height: 1.8;
    font-size: 1.1rem;
}

.copyyek-terms-content {
    max-width: 800px;
    margin: 0 auto;
}

.copyyek-term-item {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
    position: relative;
    padding-right: 40px;
}

.copyyek-term-number {
    width: 30px;
    height: 30px;
    border: 1px solid #208279;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #208279;
    position: absolute;
    right: 0;
    top: 3px;
}

.copyyek-term-text {
    padding-right: 45px;
    color: #333;
    position: relative;
}

.copyyek-term-text:before {
    content: '';
    position: absolute;
    right: 25px;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #e0e0e0;
}

.copyyek-terms-footer {
    text-align: center;
    margin-top: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.copyyek-terms-note {
    color: #666;
    font-size: 0.9rem;
    margin-top: 20px;
    line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #dashboard {
        display: none;

    }

    .copyyek-term-item {
        padding-right: 30px;
    }

    .copyyek-term-number {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }

    .copyyek-term-text {
        padding-right: 35px;
        font-size: 0.95rem;
        text-align: justify;
    }

    .copyyek-term-text:before {
        right: 17px;
    }
}

@media (max-width: 480px) {
    .copyyek-line-terms {
        padding: 40px 15px;
    }

    .copyyek-term-item {
        margin-bottom: 25px;
    }

    .copyyek-term-number {
        width: 22px;
        height: 22px;
    }

    .copyyek-term-text {
        padding-right: 30px;
        text-align: justify;
    }

    .copyyek-terms-footer {
        margin-top: 40px;
    }
}

/* Hide the default radio */
.address-box input[type="radio"] {
    display: none;
}

/* Whole label clickable */
.address-box label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    gap: 12px;
}

/* Circle tick design */
.custom-radio {
    width: 28px;
    height: 28px;
    border: 2px solid #ccc;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    color: #aaa;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
}

/* Always show tick but dull by default */
.custom-radio::before {
    content: "\2713";
    color: #aaa;
}

/* Glow when hovering on box */
.address-box:hover .custom-radio {
    box-shadow: 0 0 15px rgba(30, 153, 147, 0.9);
}

/* Address Box Spacing */
.address-box {
    margin-bottom: 15px;
}

/* When selected: color + brighter tick */
.address-box input[type="radio"]:checked+.custom-radio {
    background-color: #1e9992;
    border-color: #1e9992;
    box-shadow: 0 0 12px rgba(30, 153, 146, 0.7);
}

.address-box input[type="radio"]:checked+.custom-radio::before {
    color: #fff;
}

/* Address label next to radio */
.address-label {
    /* background-color: #fff; */
    padding: 10px 12px;
    border-radius: 7px;
    transition: background-color 0.2s ease;
    flex: 1;
}

/* Optional: highlight selected */
.address-box input[type="radio"]:checked+.custom-radio+.address-label {
    background-color: #e6f7f5;
}


@keyframes blink {

    0%,
    100% {
        box-shadow: 0 0 4px rgba(255, 0, 0, 0.3);
    }

    50% {
        box-shadow: 0 0 8px rgba(255, 0, 0, 0.5);
    }
}

.blinking {
    animation: blink 1.2s ease-in-out infinite;
}






.user-info {
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    text-align: right;
    /* For RTL text */
    min-width: 0;
    /* Fixes flexbox overflow issue */
}










/* Discount Code Section */
.discount-code-section {
    background: #fff6e5;
    padding: 20px;
    border-radius: 1rem;

    margin-bottom: 20px;
    border-radius: 7px;
    line-height: 1.5;
}

.discount-code-section h3 {
    margin-top: 0;
    color: #333;
}

/* Discount Input Container */
.discount-input-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

#discount-code {
    border: 1px solid #ddd;
    border-radius: 2rem;
    padding: 10px;
    font-size: 13px;
    flex: 1;
    /* Replace fixed width */
    width: auto;
}

#apply-discount {
    background: #c8102e;
    color: white;
    border: none;
    border-radius: 2rem;
    cursor: pointer;
    transition: background 0.3s;
    padding: 10px 20px;
    /* Improved padding */
    font-family: inherit;
    white-space: nowrap;
}

/* Payment Actions */
.payment-actions {
    text-align: left;
    margin: 30px 0;
}

#pay-button {
    /* Assuming base styles are elsewhere or inline previously */
    padding: 12px 40px;
    font-size: 1.1rem;
    border-radius: 2rem;
    background-color: #208279;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;

    /* Centering */
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-width: 150px;
    /* Optional: minimum width for better look */
}

#pay-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(32, 130, 121, 0.3);
}

/* Responsive adjustments for payment page */
@media (max-width: 480px) {
    .discount-input-container {
        flex-direction: column;
        align-items: stretch;
    }

    #discount-code {
        width: 100%;
        margin-bottom: 10px;
    }

    #apply-discount {
        width: 100%;
    }

    .payment-actions {
        text-align: center;
        margin-top: 20px;
    }

    #pay-button {
        width: 100%;
        padding: 15px;
    }
}

#apply-discount:hover {
    background: #1aa79e;
}

#discount-message p {
    padding: 8px 12px;
    border-radius: 4px;
    margin: 0;
}








#special-code-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#special-code-success-modal .payment-modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 7px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.payment-success-icon svg {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
}

.payment-modal-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.payment-modal-text {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}







.payment-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.payment-modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

.success-icon {
    color: #4CAF50;
    font-size: 60px;
    margin-bottom: 20px;
}

.error-icon {
    color: #f44336;
    font-size: 60px;
    margin-bottom: 20px;
}

.spinner-2 {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #208279;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.continue-button {
    background-color: #208279;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 20px;
    font-size: 16px;
}





.notice-warning,
.update-nag {
    display: none !important;
}

.custom-confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.custom-confirm-modal.active {
    opacity: 1;
    visibility: visible;
}

.confirm-content {
    background-color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.custom-confirm-modal.active .confirm-content {
    transform: translateY(0);
}

.confirm-title {
    font-size: 1.6rem;
    color: var(--co-red);
    margin-bottom: 15px;
    font-weight: 800;
}

.confirm-message {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 30px;
    line-height: 1.6;
}

.confirm-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.confirm-btn {
    padding: 12px 30px;
    border-radius: 2.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 130px;
    font-family: IRANSansX !important;
}

.confirm-yes {
    background-color: var(--co-red);
    color: white;
    border: 1px solid var(--co-red);
}

.confirm-yes:hover {
    background-color: #a00d25;
    scale: 1.05;
}

.confirm-no {
    background-color: transparent;
    color: #666;
    border: 1px solid #ccc;
}

.confirm-no:hover {
    background-color: #f5f5f5;
    color: #333;
    scale: 1.05;
}

/* ====================================
   Submission Method Toggle (Telegram/Upload)
   ==================================== */

.submission-method-toggle {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 35px;
    width: 100%;
    background: #f1f1f1;
    padding: 6px;
    border-radius: 100px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #e0e0e0;
}

.method-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border: none;
    background: transparent;
    border-radius: 100px;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
}

.method-toggle-btn:hover {
    color: var(--copyyek-black);
}

.method-toggle-btn.active {
    background: var(--white);
    color: var(--co-red);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.method-toggle-btn svg {
    transition: transform 0.3s ease;
}

.method-toggle-btn.active svg {
    fill: var(--co-red);
}

/* Upload Section */
.upload-method-section {
    width: 100%;
}

/* Telegram Section */
.telegram-method-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Order Code Card */
.telegram-order-code-card {
    background: var(--white);
    border: 2px dashed var(--co-red);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    color: var(--copyyek-black);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    width: 100%;
    max-width: 500px;
}



.telegram-order-code-card .code-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 8px;
}

.telegram-order-code-card .code-value {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 8px;
    font-family: 'Courier New', monospace;
    margin-bottom: 1.5rem;
    color: var(--copyyek-black);
    background: var(--co-yellowish);
    padding: 10px;
    border-radius: 7px;
    display: inline-block;
}

.telegram-order-code-card .copy-code-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--co-red);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 2rem;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.telegram-order-code-card .copy-code-btn:hover {
    background: #a00d25;
    transform: scale(1.05);
}

.telegram-order-code-card .copy-code-btn svg {
    fill: white;
}

/* Instructions Card */
.telegram-instructions-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.telegram-instructions-card .instructions-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--co-red);
    font-size: 1.2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.telegram-instructions-card .instructions-list {
    margin: 0;
    padding-right: 24px;
    color: #555;
    line-height: 2;
    font-size: 0.95rem;
}

.telegram-instructions-card .instructions-list li {
    margin-bottom: 6px;
}

.telegram-instructions-card .contact-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.telegram-instructions-card .contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.telegram-instructions-card .contact-link.telegram {
    background: #e3f2fd;
    color: #0088cc;
}

.telegram-instructions-card .contact-link.telegram:hover {
    background: #0088cc;
    color: white;
}

.telegram-instructions-card .contact-link.telegram:hover svg {
    fill: white;
}

.telegram-instructions-card .contact-link.eita {
    background: #fff3e0;
    color: #ff6b35;
}

.telegram-instructions-card .contact-link.eita:hover {
    background: #ff6b35;
    color: white;
}

/* Page Count Input */
.page-count-input-group {
    background: var(--white);
    border: 2px solid var(--copyyek-black);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    margin-top: 1rem;
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.1);
}

.page-count-input-group label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.page-count-input-group .page-count-input {
    width: 100%;
    max-width: 250px;
    padding: 1rem;
    font-size: 1.5rem;
    text-align: center;
    border: 2px solid #ccc;
    border-radius: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.page-count-input-group .page-count-input:focus {
    outline: none;
    border-color: var(--co-red);
    background: var(--white);
}

.page-count-input-group .page-count-hint {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .submission-method-toggle {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 4px;
    }

    .method-toggle-btn {
        padding: 8px 5px !important;
        font-size: 0.85rem !important;
        gap: 4px !important;
        letter-spacing: -0.5px;
    }

    .telegram-order-code-card .code-value {
        font-size: 1.8rem;
        letter-spacing: 4px;
    }

    .telegram-instructions-card .contact-links {
        flex-direction: column;
        gap: 10px;
    }

    .telegram-instructions-card .contact-link {
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
    }
}

/* ====================================
   Compact & Flat Design Overrides
   ==================================== */

/* Compact Telegram Section */
.telegram-order-code-card {
    padding: 1rem !important;
    max-width: 350px !important;
    border-radius: 1rem !important;
}

.telegram-order-code-card .code-value {
    font-size: 1.8rem !important;
    margin-bottom: 0.8rem !important;
    letter-spacing: 3px !important;
}

.telegram-instructions-card {
    padding: 1.5rem !important;
    border-radius: 1rem !important;
}

.telegram-instructions-card .instructions-list {
    margin-bottom: 1.5rem !important;
    font-size: 0.9rem !important;
}

.telegram-instructions-card .instructions-header {
    margin-bottom: 1rem !important;
    font-size: 1.1rem !important;
}

.page-count-input-group {
    padding: 1.5rem !important;
    border-radius: 1rem !important;
    margin-top: 1.5rem !important;
}

.page-count-input-group .page-count-input {
    max-width: 180px !important;
    font-size: 1.3rem !important;
    padding: 0.8rem !important;
}

/* Apply Flat Design to Right Side Form */
.expressive-select,
.form-container input[type="number"],
.form-container input[type="text"],
.form-container textarea {
    border: 1px solid #e0e0e0 !important;
    border-radius: 1rem !important;
    padding: 1rem !important;
    background-color: var(--white);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    /* Ensure font matches */
}

.expressive-select:focus,
.form-container input:focus,
.form-container textarea:focus {
    border-color: var(--co-red) !important;
    outline: none;
    background-color: #fff !important;
}

/* Checkbox Styling */
.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    margin-bottom: 10px;
}

input[type="checkbox"] {
    width: 1.3rem;
    height: 1.3rem;
    accent-color: var(--co-red);
    cursor: pointer;
}

/* Submit Button Rounding */
.submit-folder-btn {
    border-radius: 2rem !important;
}

/* Desktop-specific sizing fixes */
@media (min-width: 992px) {
    .telegram-order-code-card {
        max-width: 320px !important;
        padding: 0.8rem !important;
    }

    .telegram-order-code-card .code-value {
        font-size: 1.6rem !important;
        letter-spacing: 2px !important;
    }

    .telegram-instructions-card {
        font-size: 0.85rem !important;
        padding: 1rem !important;
    }

    .page-count-input-group {
        padding: 1rem !important;
    }

    .page-count-input-group label {
        font-size: 0.9rem !important;
    }

    /* Toggle Button Fixes */
    .method-toggle-btn {
        padding: 0.8rem 1.5rem !important;
        font-size: 1rem !important;
        min-height: auto !important;
        height: auto !important;
        line-height: 1.2 !important;
    }

    .submission-method-toggle {
        margin-bottom: 1.5rem !important;
        gap: 10px !important;
    }
}

/* Page Count & Telegram Cards Uniform Style */
.telegram-order-code-card,
.telegram-instructions-card,
.page-count-input-group {
    width: 100% !important;
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 2px !important;
    box-sizing: border-box !important;
}

/* Dashed Red Border for Code & Input */
.telegram-order-code-card,
.page-count-input-group {
    border: 2px dashed var(--co-red) !important;
    background: var(--white) !important;
    border-radius: 1.5rem !important;
    padding: 1rem !important;
    box-shadow: none !important;
}

/* Instructions Card (Solid Border) */
.telegram-instructions-card {
    border: 1px solid #eee !important;
}

/* Refine Page Count Input inside the Dashed Box */
.page-count-input-group .page-count-input {
    border: none !important;
    /* Remove inner border */
    box-shadow: none !important;
    background: #f9f9f9 !important;
    /* Subtle background for input context */
    border-radius: 1rem !important;
    width: 100% !important;
    max-width: 200px !important;
    padding: 0.8rem !important;
    font-size: 1.5rem !important;
    margin-top: 0.5rem;
}

.page-count-input-group label {
    font-size: 1.1rem !important;
    margin-bottom: 12px !important;
    color: var(--copyyek-black) !important;
    line-height: 1.6 !important;
    font-weight: 700 !important;
}

.page-count-input-group .page-count-hint {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-top: 15px;
    line-height: 1.6;
}

/* Dropdown Placeholder Styling */
select.expressive-select {
    color: #9ca3af;
    /* Gray placeholder color */
    transition: color 0.3s ease;
}

select.expressive-select.selected {
    color: var(--copyyek-black, #333);
    /* Active color */
}

/* Ensure options inside the dropdown are always readable */
select.expressive-select option {
    color: var(--copyyek-black, #333);
}

select.expressive-select option[disabled] {
    color: #d1d5db;
    /* Lighter gray for the disabled placeholder option in list */
}

/* Fix for Shipping Method Radio Buttons */
.shipping-method-radio:checked::before {
    content: none !important;
    display: none !important;
}

.shipping-method-radio {
    appearance: auto !important;
    width: auto !important;
    height: auto !important;
    position: static !important;
    accent-color: #c8102e !important;
}

/* Payment Page Table Styles */
.folder-details table,
.shipment-summary table {
    border: 1px solid #C8102E;
    border-radius: 7px;
    border-spacing: 0;
    border-collapse: separate;
    overflow: hidden;
    width: 100%;
}