/* Dorrin FAQ & Help pages */
.dorrin-content-page .header.navbar-area {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    padding: 0 0;
}

.dorrin-content-page .header .navbar .navbar-nav .nav-item a {
    color: #081828;
}

.dorrin-content-page .header .navbar .navbar-nav .nav-item a.active {
    color: #2ec9d0;
}

.dorrin-content-page .header .mobile-menu-btn .toggler-icon {
    background-color: #081828;
}

.dorrin-content-page .header .button .btn {
    background-color: #2ec9d0;
    color: #fff;
}

.dorrin-content-page .header .button .btn:hover {
    background-color: #081828;
    color: #fff;
}

.dorrin-content-page .dorrin-content-main {
    padding-top: 110px;
}

@media (max-width: 767px) {
    .dorrin-content-page .dorrin-content-main {
        padding-top: 96px;
    }
}

.dorrin-content-loading,
.dorrin-content-error,
.dorrin-content-empty {
    text-align: center;
    padding: 48px 16px;
    color: #777;
}

.dorrin-content-error {
    color: #c0392b;
}

.dorrin-faq-section-title {
    font-size: 20px;
    font-weight: 600;
    margin: 40px 0 20px;
    color: #081828;
}

.dorrin-faq-section-title:first-child {
    margin-top: 0;
}

.dorrin-faq-section-title i {
    margin-left: 8px;
    color: #ff6b81;
}

.faq .accordion-button .title {
    float: none;
    text-align: right;
    display: block;
    width: 100%;
    padding-left: 28px;
}

.faq .accordion-body {
    text-align: right;
    direction: rtl;
}

.dorrin-rich-content {
    direction: rtl;
    text-align: right;
    line-height: 1.9;
    color: #555;
}

.dorrin-rich-content img,
.dorrin-rich-content video {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.dorrin-rich-content figure.dorrin-video {
    margin: 1.5rem 0;
}

.dorrin-rich-content figure.dorrin-video figcaption {
    margin-top: 0.5rem;
    font-size: 14px;
    color: #777;
    text-align: center;
}

.dorrin-rich-content h2,
.dorrin-rich-content h3,
.dorrin-rich-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #081828;
}

.dorrin-rich-content p {
    margin-bottom: 1rem;
}

.dorrin-rich-content ul,
.dorrin-rich-content ol {
    padding-right: 1.25rem;
    margin-bottom: 1rem;
}

.dorrin-help-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

.dorrin-help-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dorrin-help-video {
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.dorrin-help-video iframe {
    display: block;
    width: 100%;
    height: 220px;
    border: 0;
}

@media (min-width: 768px) {
    .dorrin-help-video iframe {
        height: 360px;
    }
}

.dorrin-help-mobile-pickers {
    display: none;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.dorrin-help-picker {
    position: relative;
}

.dorrin-help-picker-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #e8edf2;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(8, 24, 40, 0.05);
    text-align: right;
    cursor: pointer;
}

.dorrin-help-picker-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #2ec9d0;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

.dorrin-help-picker-text {
    flex: 1;
    min-width: 0;
}

.dorrin-help-picker-label {
    display: block;
    font-size: 12px;
    color: #8a96a3;
    margin-bottom: 4px;
}

.dorrin-help-picker-value {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #081828;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dorrin-help-picker-chevron {
    color: #8a96a3;
    font-size: 14px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.dorrin-help-picker.is-open .dorrin-help-picker-chevron {
    transform: rotate(-90deg);
}

.dorrin-help-picker-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 20;
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(8, 24, 40, 0.12);
    max-height: 260px;
    overflow-y: auto;
    padding: 8px;
}

.dorrin-help-picker-menu[hidden] {
    display: none !important;
}

.dorrin-help-picker-option {
    width: 100%;
    border: 0;
    background: transparent;
    border-radius: 10px;
    padding: 12px 14px;
    text-align: right;
    font-size: 14px;
    color: #081828;
    cursor: pointer;
}

.dorrin-help-picker-option:hover,
.dorrin-help-picker-option.is-active {
    background: #edf9fa;
    color: #2ec9d0;
}

.dorrin-help-article-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dorrin-help-article-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #e8edf2;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(8, 24, 40, 0.05);
    text-align: right;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #081828;
}

.dorrin-help-article-item.is-active {
    border-color: #2ec9d0;
    color: #2ec9d0;
    background: #f4fcfd;
}

.dorrin-help-article-item i {
    color: #8a96a3;
    font-size: 14px;
    flex-shrink: 0;
}

.dorrin-help-article-item.is-active i {
    color: #2ec9d0;
}

@media (max-width: 991px) {
    .dorrin-help-layout {
        grid-template-columns: 1fr;
    }

    .dorrin-help-sidebar {
        display: none;
    }

    .dorrin-help-mobile-pickers {
        display: flex;
    }

    .dorrin-help-mobile-pickers[hidden] {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .dorrin-help-sidebar {
        position: sticky;
        top: 100px;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.04);
        padding: 20px;
    }
}

.dorrin-help-sidebar h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #081828;
}

.dorrin-help-nav-section {
    border-bottom: 1px solid #eef1f4;
}

.dorrin-help-nav-section:last-child {
    border-bottom: 0;
}

.dorrin-help-nav-section-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 10px;
    border: 0;
    background: transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #081828;
    text-align: right;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.dorrin-help-nav-section-toggle:hover,
.dorrin-help-nav-section.is-expanded .dorrin-help-nav-section-toggle {
    background: #f4f7fa;
}

.dorrin-help-nav-chevron {
    color: #8a96a3;
    font-size: 12px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.dorrin-help-nav-section.is-expanded .dorrin-help-nav-chevron {
    transform: rotate(-90deg);
}

.dorrin-help-nav-section-panel {
    padding: 0 4px 8px;
}

.dorrin-help-nav-section-panel[hidden] {
    display: none;
}

.dorrin-help-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dorrin-help-nav-list a {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
	margin-top: 5px;
}

.dorrin-help-nav-list a:hover{
	background: #2ec9d0;
    color: #fff;
}
.dorrin-help-nav-list a.active {
    background: #ff6b81;
    color: #fff;
}

.dorrin-help-article {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.04);
    padding: 32px;
}

.dorrin-help-article h1 {
    font-size: 20px;
    margin-bottom: 24px;
    color: #081828;
}

.dorrin-help-related {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.dorrin-help-related h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
}

.dorrin-help-related ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dorrin-help-related a {
    color: #2ec9d0;
    text-decoration: none;
}

.dorrin-faq-tags {
    margin-top: 12px;
}

.dorrin-faq-tag {
    display: inline-block;
    font-size: 12px;
    background: #f4f4f4;
    color: #666;
    padding: 4px 10px;
    border-radius: 20px;
    margin-left: 6px;
}
