:root {
    --primary-light: #bee9e8;
    --primary: #62b6cb;
    --primary-dark: #1b4965;
    --accent-light: #cae9ff;
    --accent: #5fa8d3;
    --text-dark: #1b4965;
    --text-light: #5a7d9a;
    --background: #ffffff;
    --gray-bg: #f5f7fa;
}
.text-primary-light {
    color: var(--primary-light);
}
.text-light{
    color: var(--text-light) !important;
}
.text-primary-dark {
    color: var(--primary-dark);
}
.text-primary {
    color: var(--primary);
}
.text-accent {
    color: var(--accent);
}
.text-accent-light {
    color: var(--accent-light);
}
.text-gray-bg {
    color: var(--gray-bg);
}
.bg-primary {
    background: var(--primary) !important;
}
.bg-primary-light {
    background: var(--primary-light);
}
.bg-primary-dark {
    background: var(--primary-dark);
}
.bg-accent {
    background: var(--accent);
}
.bg-accent-light {
    background: var(--accent-light);
}
.bg-gray-bg{
    background: var(--gray-bg);
}
.border-primary {
    border-color: var(--primary);
}
.border-primary-light{
    border-color: var(--primary-light);
}
.border-primary-dark{
    border-color: var(--primary-dark);
}
.hover-bg-primary-dark:hover {
    background-color: var(--primary-dark) !important;
}
.hover-bg-primary:hover {
    background-color: var(--primary) !important;
}
.hover-bg-primary-light:hover{
    background-color: var(--primary-light) !important;
}
.hover-bg-accent-light:hover{
    background-color: var(--accent-light) !important;
}
.hover-bg-accent:hover{
    background-color: var(--accent) !important;
}
.hover-text-primary-dark:hover {
    color: var(--primary-dark);
}
.breadcrumb-block {
    background: linear-gradient(
        to bottom right,
        var(--accent-light),
        var(--primary-light)
    );
    position: relative;
}
.focus\:outline-none {
    &:focus {
        --tw-outline-style: none;
        outline-style: none;
    }
}
/* Ø§Ø³Ú©Ø±ÙˆÙ„ Ø¨Ø§Ø± Ù…Ø¯Ø±Ù† */
.custom-scrollbar-modern::-webkit-scrollbar {
    width: 5px;
}

.custom-scrollbar-modern::-webkit-scrollbar-track {
    background: #bee9e8;
    border-radius: 10px;
}

.custom-scrollbar-modern::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #62b6cb, #5fa8d3);
    border-radius: 10px;
}

.custom-scrollbar-modern::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #1b4965, #5fa8d3);
}

/* Ø§Ù†ÛŒÙ…ÛŒØ´Ù†â€ŒÙ‡Ø§ÛŒ Ø³ÙØ§Ø±Ø´ÛŒ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-item {
    animation: fadeInUp 0.5s ease forwards;
}

/* Ø§Ø³ØªØ§ÛŒÙ„ Ø¨Ø±Ø§ÛŒ Ø§ÛŒÙ†Ù¾ÙˆØªâ€ŒÙ‡Ø§ÛŒ Ø¹Ø¯Ø¯ÛŒ */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    opacity: 0.5;
}

input[type="number"]:hover::-webkit-inner-spin-button,
input[type="number"]:hover::-webkit-outer-spin-button {
    opacity: 1;
}

/* Ø®Ø· Ø¯ÙˆÛŒØ¯Ù† Ø¨Ø±Ø§ÛŒ Ø¯Ùˆ Ø®Ø· Ù…ØªÙ† */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: hidden;
    overflow: hidden;
}
.focus-border-primary:focus{
    border-color:var(--primary);
}
.focus-ring-2:focus{
    box-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
}
.focus-ring-primary-light:focus{
    --tw-ring-color: var(--primary-light / var(--tw-ring-opacity, 1));
}
.focus-ring-primary:focus{
    --tw-ring-color: var(--primary/ var(--tw-ring-opacity, 1));
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-5px);
}
.line-clamp-4 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}
.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.line-clamp-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.custom_vertical_line {
    width: 2px;
    height: auto;
    background: #000;
}
.max-md\:flex-col {
    @media (width < 48rem /* 768px */) {
        flex-direction: column;
    }
}
.custom-max-w15 {
    max-width: 15%;
}
.custom-max-w15 {
    max-width: 10%;
}
.custom-button-cancel {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    text-transform: uppercase;
    color: black;
    background: #ededee;
    padding: 15px 32px;
    border-radius: 12px;
    display: inline-block;
    cursor: pointer;
    transition: all ease 0.4s;
}
.custom-button-cancel:hover {
    color: rgb(255, 255, 255);
    background-color: red;
}
.custom-w50 {
    width: 64px;
}
.custom-w85 {
    width: 85%;
}
.custom-h45 {
    height: 45%;
}

.custom-transition {
    transition-behavior: normal;
    transition-delay: 0s;
    transition-duration: 0.4s;
    transition-property: all;
    transition-timing-function: ease;
}
.custom-heading6 {
    font-size: 14px;
    line-height: 24px;
}
@media (max-width: 1023.99px) {
    .custom-button-cancel {
        padding: 12px 24px;
        border-radius: 10px;
    }
}

@media (max-width: 767.98px) {
    .custom-w50 {
        width: 36px;
    }
    .custom-button-cancel {
        font-size: 12px;
        line-height: 16px;
        padding: 10px 16px;
        border-radius: 8px;
    }
    .custom-search-icon {
        display: none;
    }
}

.custom-bg-box1 {
    background: #a78e11;
}
.custom-bg-box2 {
    background: #082f49;
}
.custom-bg-box3 {
    background: #774848;
}
.custom-border-box3 {
    border: 2px solid #774848;
}
.custom-bg-box4 {
    background: #3b2e96;
}
.custom-border-box4 {
    border: 2px solid #3b2e96;
}
.custom-bg-box5 {
    background: #8f6939;
}
.custom-border-box5 {
    border: 2px solid #8f6939;
}
.custom-box-hover:hover {
    transition: 0.7s;
    color: rgb(240, 200, 41);
}
.modal {
    pointer-events: none;
    position: fixed;
    inset: 0px;
    margin: 0px;
    display: grid;
    height: 100%;
    max-height: none;
    width: 100%;
    max-width: none;
    justify-items: center;
    padding: 0px;
    opacity: 0;
    overscroll-behavior: contain;
    z-index: 999;
    background-color: transparent;
    color: inherit;
    transition-duration: 200ms;
    transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
    transition-property: transform, opacity, visibility;
    overflow-y: hidden;
}
.modal-backdrop {
    z-index: -1;
    grid-column-start: 1;
    grid-row-start: 1;
    display: grid;
    align-self: stretch;
    justify-self: stretch;
    color: transparent;
}


.swal2-popup {
    font-family: 'IRANSans', sans-serif !important;
    border-radius: 16px !important;
    padding: 20px !important;
}
.swal2-title {
    font-size: 24px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
}
.swal2-html-container {
    font-size: 16px !important;
    color: #4a4a4a !important;
}
.swal2-confirm {
    background-color: #000 !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    font-size: 16px !important;
}
.swal2-confirm:hover {
    background-color: #333 !important;
}
.swal2-success .swal2-icon {
    border-color: #10b981 !important;
    background-color: #10b981 !important;
}
.swal2-error .swal2-icon {
    border-color: #ef4444 !important;
    background-color: #ef4444 !important;
}
.swal2-warning .swal2-icon {
    border-color: #f59e0b !important;
    background-color: #f59e0b !important;
}

/* Ø§Ø³ØªØ§ÛŒÙ„â€ŒÙ‡Ø§ÛŒ Ù…Ù†ÙˆÛŒ ØªÙˆØ¯Ø±ØªÙˆ - Ø¨Ù‡Ø¨ÙˆØ¯ ÛŒØ§ÙØªÙ‡ */
.group .sub-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.group:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu-item {
    position: relative;
}

.submenu-item .sub-sub-menu {
    position: absolute;
    right: 100%;
    top: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px 0 0 8px;
}

/* Ú©Ù„Ø§Ø³ ÙØ¹Ø§Ù„ Ø¨Ø±Ø§ÛŒ Ø²ÛŒØ±Ù…Ù†Ùˆ */
.submenu-item:hover .sub-sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Ø§Ø³ØªØ§ÛŒÙ„ Ø¨Ø±Ø§ÛŒ Ø¬Ù„ÙˆÚ¯ÛŒØ±ÛŒ Ø§Ø² Ø¨Ø§Ø² Ù…Ø§Ù†Ø¯Ù† ØªØµØ§Ø¯ÙÛŒ */
.group .sub-menu,
.submenu-item .sub-sub-menu {
    transition-delay: 0.1s;
}

/* Ø§ÛŒØ¬Ø§Ø¯ Ø´Ú©Ø§Ù Ø¨ÛŒÙ† Ù…Ù†Ùˆ Ùˆ Ø²ÛŒØ±Ù…Ù†Ùˆ Ø¨Ø±Ø§ÛŒ Ø¬Ù„ÙˆÚ¯ÛŒØ±ÛŒ Ø§Ø² Ø¨Ø³ØªÙ‡ Ø´Ø¯Ù† */
.group > .sub-menu {
    padding-top: 10px !important;
}

.sub-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

.sub-sub-menu::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10px;
    width: 10px;
    height: 100%;
    background: transparent;
}

/* Ø§Ø³ØªØ§ÛŒÙ„ Ø¨Ø±Ø§ÛŒ Ù…ÙˆØ¨Ø§ÛŒÙ„ */
.sub-nav-mobile, .sub-sub-nav-mobile {
    background-color: #f8f9fa;
    border-right: 3px solid #ddd;
    padding-left: 15px;
    margin-top: 10px;
    border-radius: 8px;
}

.mobile-menu-item a.active,
.nav-item-mobile.active {
    color:#62B6CB;
    font-weight: bold;
}

.accent-\[\#626dd1\] {
    accent-color: #626dd1;
}
/* Ø§Ø³ØªØ§ÛŒÙ„ Ø¨Ø±Ø§ÛŒ Ù¾ÛŒÚ©Ø§Ù†â€ŒÙ‡Ø§ */
.has-submenu::after {
    content: 'â–¾';
    margin-right: 5px;
    font-size: 12px;
}

/* Ø§Ø³ØªØ§ÛŒÙ„ Ø¨Ø±Ø§ÛŒ Ù‡Ø§ÙˆØ± */
.submenu-item > a:hover {
    color: #62B6CB !important;
}

.sub-sub-menu a:hover {
    background-color: #F5F7FA;
}

/* Ø¨Ù‡Ø¨ÙˆØ¯ ÙØ§ØµÙ„Ù‡â€ŒÙ‡Ø§ Ø¨Ø±Ø§ÛŒ Ø¬Ù„ÙˆÚ¯ÛŒØ±ÛŒ Ø§Ø² Ø¨Ø³ØªÙ‡ Ø´Ø¯Ù† Ù†Ø§Ø®ÙˆØ§Ø³ØªÙ‡ */
.sub-menu {
    padding-top: 10px;
    padding-bottom: 10px;
}

.submenu-item > a {
    padding: 8px 16px;
}
.btn-primary{
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}
.btn-primary:hover{
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}
.bg-gradient-to-b.from-primary-dark.to-primary{
    background: linear-gradient(to bottom,var(--primary-dark), var(--primary));
}
.bg-gradient-to-br.from-primary.to-primary-light{
    background-image:linear-gradient(to bottom right,var(--primary), var(--primary-light) );
}
.bg-gradient-to-r.from-primary-light.to-accent-light{
    background-image:linear-gradient(to right,var(--primary-light), var(--accent));
}
.bg-primary\/20 {
    background-color: color-mix(in oklab, var(--primary) /* oklch(88.2% 0.059 254.128) */ 20%, transparent);
}
.bg-gradient-to-r {
    --tw-gradient-position: to right in oklab;
    background-image: linear-gradient(var(--tw-gradient-stops));
}
/* Ø§Ù†ÛŒÙ…ÛŒØ´Ù†â€ŒÙ‡Ø§ÛŒ Ø¸Ø±ÛŒÙ Ø¨Ø±Ø§ÛŒ Ù„ÛŒÙ†Ú©â€ŒÙ‡Ø§ */
.list-nav a {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.list-nav a::before {
    content: '';
    position: absolute;
    right: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(190, 233, 232, 0.1), transparent);
    transition: right 0.6s ease;
}

.list-nav a:hover::before {
    right: 100%;
}

/* Ø§Ù†ÛŒÙ…ÛŒØ´Ù† Ø¨Ø±Ø§ÛŒ Ø¢ÛŒÚ©ÙˆÙ†â€ŒÙ‡Ø§ÛŒ Ø§Ø¬ØªÙ…Ø§Ø¹ÛŒ */
.list-social a {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.list-social a i::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.list-social a :hover::after {
    opacity: 1;
    background: none;
    color: white;
}

/* Ø§Ù†ÛŒÙ…ÛŒØ´Ù† Ø¨Ø±Ø§ÛŒ Ø¢ÛŒØªÙ…â€ŒÙ‡Ø§ÛŒ ØªÙ…Ø§Ø³ */
.contact-info .group:hover div {
    transform: translateX(-5px);
    transition: transform 0.3s ease;
}

button.color.active {
    --tw-ring-color: #56c310 !important;
    border: 1px solid #56c310;
}
button.attr.active {
    background: #56c310;
    border: 1px solid #56c310;
}

button.attr:disabled {
    background-color: #bdbdbd;
    color: #f5f5f5;
    opacity: 0.6;
    cursor: not-allowed;
    border-color: #bdbdbd;
}

button:disabled {
    background-color: #bdbdbd;
    color: #f5f5f5;
    opacity: 0.6;
    cursor: not-allowed;
    border-color: #bdbdbd;
}

table {
    width: 100%;
    border-collapse: collapse;
    direction: rtl;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}


table thead {
    background: #2c3e50;
    color: #fff;
}




table td {
    padding: 12px 14px;
    text-align: center;

}


table tbody tr:nth-child(even) {
    background: #f9fafb;
}


table tbody tr:hover {
    background: #eef5ff;
}


.btn-login-header {
    border: 1px solid #999;
    border-radius: 5px;
    padding: 8px;
    min-width: 110px;
    text-align: center;
}







@media (max-width: 768px) {
    table td {
        padding: 10px;
        font-size: 14px;
    }
}


/* Ø§ÙÚ©Øª Ø´Ù†Ø§ÙˆØ± Ø¨Ø±Ø§ÛŒ Ú©Ø§Ø±Øªâ€ŒÙ‡Ø§ */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.footer-main:hover .company-info {
    animation: float 6s ease-in-out infinite;
}

/* Ø§Ø³ØªØ§ÛŒÙ„â€ŒÙ‡Ø§ÛŒ Ø±ÛŒØ³Ù¾Ø§Ù†Ø³ÛŒÙˆ */
@media (max-width: 768px) {
    .content-footer {
        gap: 2rem;
    }

    .list-social {
        justify-content: center;
    }

    .footer-bottom {
        text-align: center;
    }
}
