/* Custom Theme Checkboxes */
.theme-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background-color: transparent;
    border: 2px solid #555;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.theme-checkbox:checked {
    background-color: var(--primary-color, #0f6fff);
    border-color: var(--primary-color, #0f6fff);
}

.theme-checkbox:checked::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

.theme-checkbox:disabled {
    background-color: #555;
    border-color: #555;
    cursor: not-allowed;
}

.theme-checkbox:disabled:checked::after {
    border-color: #ccc;
}

/* Cookies */
.cookie-modal-overlay {
    position: fixed;
    inset: auto 0 0 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: flex-end;
    justify-content: center;
    z-index: 99999;
    padding: 0;
}

.cookie-modal-overlay.show {
    display: flex;
}

.cookie-modal {
    background: #0000005c;
    color: #ffffff;
    width: 100%;
    padding: 10px;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.12);
    border-radius: 0;
    position: relative;
}

.cookie-close {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.cookie-modal h3 {
    margin-bottom: 10px;
    font-size: 22px;
}

.cookie-modal p {
    margin-bottom: 0px;
    line-height: 1.6;
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
}

.cookie-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}





/* Cookies */

@media (max-width: 768px) {
    .cookie-actions {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .cookie-buttons .main-btn {
        flex: 1 1 auto;
        text-align: center;
        font-size: 13px;
        padding: 8px 12px;
        white-space: nowrap;
    }
}




/* backend issue fixed on frontent-code */
.nvidia-stack-card h1,
.nvidia-stack-card h2,
.nvidia-stack-card h3,
.nvidia-stack-card h4,
.nvidia-stack-card h5,
.nvidia-stack-card h6 {
    font-size: 33px;
    font-weight: 400;
    margin-bottom: 25px;
}

.nvidia-stack-card p {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.80);
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

html[dir="rtl"] .card-sm-scroll .row {
    flex-direction: row;
}

.text-dark p {
    color: #000 !important;
}

.text-dark .description p {
    color: #000 !important;
}

.faq-sec-outer .faq-header .description p {
    color: #888888 !important;
}

.counter-brand-text p {
    margin: 0px !important;
}


.footer-icons svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.footer-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 992px) {

    .nvidia-stack-card h1,
    .nvidia-stack-card h2,
    .nvidia-stack-card h3,
    .nvidia-stack-card h4,
    .nvidia-stack-card h5,
    .nvidia-stack-card h6 {
        font-size: 25px;
        margin-bottom: 15px;
    }

    .lang-switch .arb {
        padding-bottom: 6px;
    }

}

@media (max-width: 600px) {

    .nvidia-stack-card h1,
    .nvidia-stack-card h2,
    .nvidia-stack-card h3,
    .nvidia-stack-card h4,
    .nvidia-stack-card h5,
    .nvidia-stack-card h6 {
        font-size: 20px;
    }
}



/* backend issue fixed on frontent-code */
