/* ===== CSS برای Slider ===== */
[data-ntm-slider] {
    position: relative;
    width: 100%;
    height: 100%;
}

.akarimi-slide {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    z-index: 1;
}

.akarimi-slide.active {
    opacity: 1;
    z-index: 10;
}

.akarimi-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.akarimi-slider-dot.active {
    width: 28px;
    border-radius: 5px;
    background-color: white;
}

/* ===== CSS برای Tax Board ===== */
.ak4wh8-tax-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

@media (max-width: 1024px) {
    .ak4wh8-tax-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
}

@media (max-width: 768px) {
    .ak4wh8-tax-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

@media (max-width: 640px) {
    .ak4wh8-tax-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}

.ak4wh8-tax-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.08));
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    gap: 8px;
}

.ak4wh8-tax-card:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(14, 165, 233, 0.15));
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

.ak4wh8-tax-card__badge {
    position: absolute;
    top: -8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background-color: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 900;
}

.ak4wh8-tax-card__icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(14, 165, 233, 0.12));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
    margin-top: 8px;
}

.ak4wh8-tax-card__title {
    font-weight: 700;
    font-size: 0.85rem;
    color: #0f172a;
    line-height: 1.4;
    margin: 0;
}

.ak4wh8-tax-card__meta {
    font-size: 0.7rem;
    color: #475569;
    margin: 0;
}

/* ===== CSS برای Gallery Lightbox ===== */
.gallery-lightbox {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(15, 23, 42, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.gallery-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.gallery-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10000;
}

.gallery-lightbox-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* ===== CSS برای Phone Input ===== */
.akarimi-phone-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.akarimi-phone-prefix {
    position: absolute;
    right: 16px;
    font-weight: bold;
    color: #0f172a;
}

.akarimi-phone-input {
    width: 100%;
    height: 48px;
    padding-right: 40px;
    padding-left: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: white;
}

.akarimi-phone-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
