:root {
    --primary-black: #000000;
    --primary-white: #ffffff;
    --brand-white: #f6f6f6;
    --brand-blue: #479bea;
    --background-gray: #f8f9fa;
    --border-gray: #e0e0e0;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --hover-gray: #f5f5f5;
    --hover-blue: #3d8ad4;
    --active-border: #000000;
    --shadow-light: rgba(0, 0, 0, 0.05);
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --sidebar-width: 260px;
    --top-nav-height: 60px;
    --content-max-width: 900px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--primary-white);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--top-nav-height);
    background-color: var(--brand-blue);
    border-bottom: none;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 40px;
    max-width: 1400px;
    margin: 0 auto;
}
.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 150px;
}
.logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
}
.brand-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-white);
    letter-spacing: -0.5px;
}
.nav-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    max-width: 600px;
    margin: 0 auto;
}
.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    min-width: 150px;
}
.search-container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    transition: all 0.2s ease;
    width: 100%;
    max-width: 500px;
    position: relative;
}
.search-container:focus-within {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
    background-color: var(--primary-white);
}
.search-container .search-icon {
    width: 18px;
    height: 18px;
    color: var(--text-secondary);
}
.search-clear {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.2s ease;
    line-height: 0;
}
.search-clear:hover {
    color: var(--text-primary);
}
.search-clear i {
    width: 18px;
    height: 18px;
}
.search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--primary-white);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.search-dropdown.show {
    opacity: 1;
    transform: translateY(0);
}
.search-result-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--border-gray);
    transition: background-color 0.2s ease;
}
.search-result-item:last-child {
    border-bottom: none;
}
.search-result-item:hover,
.search-result-item.active {
    background-color: var(--hover-gray);
}
.search-result-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.search-result-title i {
    width: 16px;
    height: 16px;
    color: var(--text-secondary);
}
.search-result-snippet {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
    padding-left: 24px;
}
.search-result-snippet mark {
    background-color: #ffeb3b;
    color: var(--text-primary);
    font-weight: 500;
    padding: 0 2px;
    border-radius: 2px;
}
.search-no-results {
    padding: 24px;
    text-align: center;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.search-no-results i {
    width: 32px;
    height: 32px;
    color: var(--text-primary);
    opacity: 0.7;
}
.language-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    color: var(--primary-white);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}
.language-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}
.language-btn i {
    width: 18px;
    height: 18px;
    color: var(--primary-white);
}
.language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--primary-white);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1001;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}
.language-dropdown.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.language-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 14px;
}
.language-option:hover {
    background-color: var(--hover-gray);
}
.language-option:first-child {
    border-radius: 8px 8px 0 0;
}
.language-option:last-child {
    border-radius: 0 0 8px 8px;
}
.lang-flag {
    font-size: 20px;
    width: 24px;
    text-align: center;
}
.lang-name {
    flex: 1;
    color: var(--text-primary);
}
.lang-check {
    width: 16px;
    height: 16px;
    color: var(--text-primary);
}
.search-container input {
    border: none;
    background: none;
    outline: none;
    font-size: 14px;
    color: var(--text-primary);
    width: 100%;
}
.search-container input[type="search"]::-webkit-search-cancel-button,
.search-container input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}
.search-container input::placeholder {
    color: var(--text-secondary);
}
.main-container {
    display: flex;
    margin-top: var(--top-nav-height);
    min-height: calc(100vh - var(--top-nav-height));
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}
.sidebar {
    position: sticky;
    top: var(--top-nav-height);
    width: var(--sidebar-width);
    height: calc(100vh - var(--top-nav-height));
    background-color: var(--primary-white);
    overflow-y: auto;
    padding: 12px 0;
    z-index: 100;
    flex-shrink: 0;
}
.sidebar-nav {
    padding: 0;
}
.nav-list {
    list-style: none;
}
.nav-item {
    margin: 0;
}
.nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    position: relative;
    border-radius: 0;
}
.nav-link:hover {
    background-color: rgba(71, 155, 234, 0.05);
}
.nav-item.active > .nav-link {
    background-color: var(--background-gray);
    font-weight: 600;
    color: var(--primary-black);
}
.nav-item.active > .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--brand-blue);
    border-radius: 0;
}
.chevron {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
    color: var(--text-secondary);
    margin-left: auto;
}
.nav-item.expanded .chevron {
    transform: rotate(180deg);
}
.sub-nav {
    list-style: none;
    padding-left: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--background-gray);
}
.nav-item.expanded .sub-nav {
    max-height: 500px;
}
.sub-nav li {
    margin: 0;
}
.sub-nav a {
    display: block;
    padding: 10px 24px 10px 48px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
    border-radius: 0;
}
.sub-nav a:hover {
    background-color: rgba(71, 155, 234, 0.05);
    color: var(--text-primary);
}
.sub-nav a.active {
    color: var(--primary-black);
    background-color: rgba(0, 0, 0, 0.05);
    font-weight: 500;
    position: relative;
}
.sub-nav a.active::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background-color: var(--primary-black);
    border-radius: 50%;
}
.content {
    flex: 1;
    padding: 40px 60px;
    background-color: var(--primary-white);
    min-height: 100vh;
}
.content-container {
    max-width: var(--content-max-width);
    margin: 0;
    background-color: var(--primary-white);
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}
.page-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--primary-black);
    letter-spacing: -1px;
}
h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--primary-black);
    letter-spacing: -0.5px;
}
h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}
h3 i {
    width: 20px;
    height: 20px;
}
p {
    margin-bottom: 16px;
    color: var(--text-primary);
    line-height: 1.7;
}
.intro-text {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 24px;
    color: var(--text-primary);
}
.content-section {
    display: none;
    animation: fadeIn 0.3s ease;
}
.content-section.active {
    display: block;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.update-info {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    padding: 16px;
    background-color: var(--background-gray);
    border-radius: 8px;
}
.simple-grey-box {
    background: var(--background-gray);
    border: 1px solid var(--border-gray);
    padding: 32px;
    margin: 32px 0;
}
.simple-grey-box h3 {
    color: var(--primary-black);
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}
.simple-grey-box h3 i {
    width: 22px;
    height: 22px;
    color: var(--text-secondary);
}
.simple-grey-box p {
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 12px;
}
.simple-grey-box p:last-child {
    margin-bottom: 0;
}
.reporting-steps {
    margin: 20px 0;
    padding-left: 24px;
    color: var(--text-primary);
}
.reporting-steps li {
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 16px;
}
.reporting-steps li:last-child {
    margin-bottom: 0;
}
.note-text {
    color: var(--text-secondary);
    font-size: 14px;
}
.guidelines-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}
.guidelines-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-gray);
    line-height: 1.6;
    color: var(--text-primary);
}
.guidelines-list li:last-child {
    border-bottom: none;
}
.help-resources-box {
    background: var(--background-gray);
    border: 1px solid var(--border-gray);
    padding: 16px;
    margin-top: 24px;
    font-size: 14px;
}
.help-resources-box p {
    margin-bottom: 12px;
    color: var(--text-secondary);
}
.help-resources-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.help-resources-box li {
    padding: 4px 0;
    line-height: 1.5;
    font-size: 13px;
    color: var(--text-secondary);
}
.help-resources-box a {
    color: var(--text-secondary);
    text-decoration: underline;
}
.help-resources-box a:hover {
    color: var(--primary-black);
}
.warning-box {
    background: linear-gradient(135deg, rgba(239, 83, 80, 0.1) 0%, rgba(220, 38, 38, 0.05) 100%);
    border: 1px solid rgba(239, 83, 80, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin: 24px 0;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.warning-box > i {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #DC2626;
}
.warning-box div {
    flex: 1;
}
.warning-box p {
    margin: 8px 0;
    color: var(--text-primary);
}
.warning-box strong {
    color: #DC2626;
    font-weight: 600;
}
.policy-section {
    background-color: var(--primary-white);
    border: 1px solid var(--border-gray);
    border-radius: 0;
    padding: 24px;
    margin-bottom: 20px;
}
.policy-section h3 {
    color: var(--primary-black);
    margin-bottom: 12px;
}
.expandable-content {
    margin-top: 16px;
}
.expand-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background-color: var(--background-gray);
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.expand-btn:hover {
    background-color: rgba(71, 155, 234, 0.05);
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}
.expand-btn i {
    width: 16px;
    height: 16px;
}
@media (max-width: 1024px) {
    .sidebar {
        position: fixed;
        left: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    .sidebar.mobile-open {
        transform: translateX(0);
    }
    .content {
        padding: 32px;
    }
    .content-container {
        padding: 0;
    }
}
@media (max-width: 768px) {
    .nav-container {
        padding: 0 16px;
    }
    .search-container {
        max-width: 100%;
        min-width: 200px;
        padding: 10px 16px;
    }
    .search-container input {
        font-size: 15px;
    }
    .language-btn span {
        display: none;
    }
    .content {
        padding: 16px;
    }
    .content-container {
        padding: 24px;
        border-radius: 0;
    }
    .page-title {
        font-size: 32px;
    }
    h2 {
        font-size: 24px;
    }
    .update-info {
        flex-direction: column;
        gap: 8px;
    }
}
@media (max-width: 480px) {
    .brand-name {
        display: none;
    }
    .nav-right {
        gap: 12px;
    }
    .search-container {
        min-width: 180px;
        padding: 10px 14px;
    }
    .search-container input {
        font-size: 16px;
    }
    .search-dropdown {
        position: fixed;
        left: 10px;
        right: 10px;
        top: 60px;
        max-width: calc(100vw - 20px);
    }
    .content-container {
        padding: 20px;
    }
    .page-title {
        font-size: 28px;
    }
    .intro-text {
        font-size: 16px;
    }
}
.sidebar::-webkit-scrollbar {
    width: 6px;
}
.sidebar::-webkit-scrollbar-track {
    background: var(--background-gray);
}
.sidebar::-webkit-scrollbar-thumb {
    background: var(--border-gray);
    border-radius: 3px;
}
.sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}
.search-highlight {
    background-color: yellow;
    padding: 2px 4px;
    border-radius: 2px;
    font-weight: 500;
}
.thank-you-section {
    margin-top: 48px;
    padding: 32px;
    background: var(--background-gray);
    border: 1px solid var(--border-gray);
    text-align: center;
}
.thank-you-text {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 500;
}
.signature {
    font-size: 16px;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}
.mobile-menu-toggle {
    display: none;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-white);
}
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: block;
    }
}
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99;
}
.sidebar-overlay.active {
    display: block;
}
body.rtl {
    direction: rtl;
}
body.rtl .sidebar {
    right: 0;
    left: auto;
}
body.rtl .content {
    margin-right: var(--sidebar-width);
    margin-left: 0;
}
body.rtl .nav-left {
    flex-direction: row-reverse;
}
body.rtl .nav-right {
    flex-direction: row-reverse;
}
body.rtl .search-container {
    direction: ltr;
}
body.rtl .sidebar-nav ul {
    padding-right: 0;
    padding-left: 20px;
}
body.rtl .sub-nav {
    padding-right: 0;
    padding-left: 20px;
}
body.rtl .nav-item::before {
    right: -12px;
    left: auto;
}
body.rtl .search-result-snippet {
    padding-right: 24px;
    padding-left: 0;
}
body.rtl .language-dropdown {
    right: auto;
    left: 0;
}
