/*bhasini ui*/
.bhashini-plugin-container svg {
    height: 26px !important;
}

.bhashini-dropdown-btn-text {
    color: #1a3d7d !important;
}

body #main #bhashini-accessbility-icon,
html body .bhashini-plugin-container #bhashini-accessbility-icon {
    height: 26px !important;
    margin-right: 0 !important;
    filter: brightness(0) saturate(100%) invert(20%) sepia(37%) saturate(3262%) hue-rotate(201deg) brightness(89%) contrast(92%) !important;
}

#bhashini-accessbility-dropdown {
    left: auto !important;
    right: 0 !important;
}

/* Base style for screens above 1400px */
#bhashini-accessbility-dropdown {
    top: 42px !important;
}

/* Till 1400px */
@@media (max-width: 1400px) {
    #bhashini-accessbility-dropdown {
        top: 68px !important;
    }
}

/* Till 1199px */
@@media (max-width: 1199px) {
    #bhashini-accessbility-dropdown {
        top: 42px !important;
    }
}

/* Till 1120px */
@@media (max-width: 1120px) {
    #bhashini-accessbility-dropdown {
        top: 68px !important;
    }
}

/* Till 992px */
@@media (max-width: 992px) {
    #bhashini-accessbility-dropdown {
        top: 42px !important;
    }
}

/* Till 767px */
@@media (max-width: 767px) {
    #bhashini-accessbility-dropdown {
        top: 68px !important;
    }
}

/* Till 575px */
@@media (max-width: 575px) {
    #bhashini-accessbility-dropdown {
        top: 42px !important;
    }
}

/* Till 483px */
@@media (max-width: 483px) {
    #bhashini-accessbility-dropdown {
        top: 68px !important;
    }
}

:root {
    /* Colors extracted directly from the theme in image_bfe16b.jpg */
    --theme-header-bg: #009792 !important;
    --theme-text-dark: #1E293B !important;
    --theme-icon-circle-bg: #F1F5F9 !important;
    --theme-border-light: #E2E8F0 !important;
}

#bhashini-accessbility-dropdown {
    background-color: #FFFFFF !important;
    border: 1px solid var(--theme-border-light) !important;
    border-radius: 6px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    width: 310px !important;
    font-family: system-ui, -apple-system, sans-serif !important;
    overflow: hidden !important;
}

/* Header */
.bhashini-acc-header {
    background-color: var(--theme-header-bg) !important;
    padding: 12px 16px !important;
    display: flex !important;
    align-items: center !important;
    font-weight: 500 !important;
    font-size: 14px !important;
}

.bhashini-acc-header-title {
    color: #FFFFFF !important;
}

.bhashini-acc-header-icon {
    margin-right: 8px !important;
    font-size: 16px !important;
}

/* Grid Layout */
.bhashini-acc-list {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 4px !important;
    padding: 16px !important;
}

/* Individual Item Wrapper */
.bhashini-acc-item {
    background-color: transparent !important;
    border: 1px solid transparent !important; /* Transparent by default as per image */
    border-radius: 6px !important;
    padding: 8px 4px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

    /* Hover & Active States (adds the border seen on 'Viewport Only') */
    .bhashini-acc-item:hover,
    .bhashini-acc-item[aria-pressed="true"] {
        background-color: #F8FAFC !important;
        border-color: var(--theme-border-light) !important;
    }

/* Circular Icon Container */
.bhashini-acc-item-icon {
    background-color: var(--theme-icon-circle-bg) !important;
    border-radius: 50% !important; /* Creates the circle */
    width: 42px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 8px !important;
}

    /* Override SVG Inline Stroke Color */
    .bhashini-acc-item-icon svg {
        width: 20px !important;
        height: 20px !important;
        stroke: var(--theme-text-dark) !important; /* Changes orange to navy */
        stroke-width: 1.5 !important;
    }

/* Labels */
.bhashini-acc-item-label {
    font-size: 11px !important;
    color: var(--theme-text-dark) !important;
    text-align: center !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
}

/* Footer */
.bhashini-acc-footer {
    border-top: 1px solid var(--theme-border-light) !important;
    padding: 10px 16px !important;
    font-size: 11px !important;
    color: #64748B !important;
    text-align: center !important;
    background-color: #FAFAFA !important;
}
/*bhasini ui*/
