
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f6f9;
    color: #333;
    overflow-x: hidden;
    min-height: 100%;
    min-height: 100dvh;
    overscroll-behavior-x: none;
}

.page {
    display: none;
    min-height: 100vh;
    min-height: 100dvh;
}

.page.active {
    display: block;
}

a {
    text-decoration: none;
    color: #2563eb;
}

a:hover {
    text-decoration: underline;
}

button {
    touch-action: manipulation;
}


#page1.active {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f4f6f9;
}


.p1-card {
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

.p1-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.p1-logo {
    margin-right: 20px;
}

.p1-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.p1-title-group h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.p1-title-group p {
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
}

.p1-info {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 25px;
    text-align: center;
}

.p1-btn {
    width: 100%;
    padding: 15px;
    background-color: #4f46e5;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.2s;
}

.p1-btn:hover {
    filter: brightness(0.9);
}

.p1-btn-logo {
    height: 28px;
    margin-right: 12px;
    object-fit: contain;
}

.oneid-btn-logo {
    display: flex;
    align-items: center;
    margin-right: 12px;
    font-weight: 800;
    font-size: 18px;
    line-height: 1;
}

.oneid-btn-logo .one-text {
    font-size: 8px;
    transform: rotate(-90deg);
    font-weight: 600;
    letter-spacing: 1px;
    margin-right: -4px;
}

.oneid-btn-logo .id-text {
    font-size: 22px;
}


.p2-top-banner {
    background: linear-gradient(90deg, #0f358f 0%, #1e4bb5 50%, #0f358f 100%);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    height: 80px;
    position: relative;
    overflow: hidden;
}

.p2-top-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h100v100H0z" fill="none"/><path d="M10 10l80 80m0-80L10 90" stroke="rgba(255,255,255,0.05)" stroke-width="2"/></svg>');
}

.p2-banner-text-left {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    z-index: 1;
}

.p2-banner-center {
    z-index: 1;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.p2-banner-center h1 {
    font-size: 40px;
    margin: 0;
    color: #fff;
    font-style: italic;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    background: -webkit-linear-gradient(#fff, #b3e0ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.p2-banner-text-right {
    font-size: 14px;
    font-weight: 600;
    text-align: right;
    line-height: 1.3;
    z-index: 1;
}

.p2-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: #f4f6f9;
    border-bottom: 1px solid #e5e7eb;
}

.p2-nav-left, .p2-nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.p2-nav-item {
    font-size: 13px;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.p2-nav-item:hover {
    color: #1f2937;
}

.p2-nav-item.dropdown {
    background: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
}

#page2 {
    background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 20px 20px;
}

.p2-main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
}

.p2-title {
    font-size: 18px;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 30px;
}

.p2-login-card {
    background: #fff;
    width: 100%;
    max-width: 420px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.p2-tabs {
    display: flex;
    background: #f3f4f6;
    padding: 4px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.p2-tab {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
    cursor: pointer;
    border-radius: 6px;
}

.p2-tab.active {
    background: #fff;
    color: #0f358f;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.p2-form-group {
    margin-bottom: 15px;
}

.p2-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #4b5563;
    margin-bottom: 6px;
}

.p2-form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}

.p2-form-group input:focus {
    border-color: #2563eb;
}

.p2-eye-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    cursor: pointer;
}

.p2-forgot-link {
    text-align: right;
    font-size: 12px;
    margin-bottom: 25px;
}

.p2-forgot-link a span {
    color: #2563eb;
}
.p2-forgot-link a {
    color: #4b5563;
    text-decoration: none;
}
.p2-forgot-link a:hover span {
    text-decoration: underline;
}

.p2-submit-btn {
    width: 100%;
    padding: 14px;
    background: #0f358f;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 25px;
}

.p2-submit-btn:hover {
    background: #0c2b7a;
}

.p2-register-link {
    text-align: center;
    font-size: 13px;
    color: #4b5563;
}

.p2-register-link a {
    font-weight: 600;
}

.p2-footer-text {
    margin-top: 30px;
    text-align: center;
    font-size: 11px;
    color: #6b7280;
    line-height: 1.5;
}


#page3.active {
    background-color: #111827;
    display: flex;
    justify-content: center;
    align-items: center;
}

.p3-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.p3-emblem {
    width: 120px;
    height: 120px;
    margin-bottom: 40px;
}

.p3-loader {
    display: flex;
    gap: 12px;
}

.p3-loader .dot {
    width: 10px;
    height: 10px;
    background-color: #3b82f6;
    border-radius: 50%;
    animation: blink 1.4s infinite both;
}

.p3-loader .dot:nth-child(1) { animation-delay: -0.32s; }
.p3-loader .dot:nth-child(2) { animation-delay: -0.16s; }
.p3-loader .dot:nth-child(3) { animation-delay: 0s; }

@keyframes blink {
    0%, 80%, 100% { opacity: 0.2; }
    40% { opacity: 1; }
}


#page4.active {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    overflow: hidden;
}

.p4-topbar {
    height: 64px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background: #fff;
    flex-shrink: 0;
}

.p4-topbar-left, .p4-topbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
}

.p4-menu-btn {
    margin-right: 5px;
    font-size: 18px;
    color: #64748b;
    flex-shrink: 0;
}

.p4-emblem {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.p4-topbar-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.2;
}

.p4-sidebar-backdrop {
    display: none;
}

.p4-content {
    display: flex;
    flex: 1;
    overflow: hidden;
    min-width: 0;
    min-height: 0;
}

.p4-sidebar {
    width: 380px;
    border-right: 1px solid #e5e7eb;
    background: #fff;
    padding: 25px;
    overflow-y: auto;
    flex-shrink: 0;
    transition: width 0.3s;
}

.p4-sidebar.collapsed {
    display: none !important;
}

.p4-doc-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 5px;
}

.p4-status {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 2px;
}

.p4-date {
    font-size: 13px;
    color: #475569;
    margin-bottom: 25px;
}

.p4-org-box {
    padding: 20px 25px;
    margin: 0 -25px;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
    color: #475569;
    display: flex;
    align-items: center;
    background: transparent;
    border-radius: 0;
}

.p4-org-box span {
    min-width: 0;
    word-break: break-word;
}

.p4-info-block {
    padding: 20px 25px;
    margin: 0 -25px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 0;
}

.p4-info-label {
    font-size: 14px;
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 500;
}

.p4-info-value {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.p4-info-value > div {
    min-width: 0;
    word-break: break-word;
}

.p4-info-value i {
    font-size: 18px;
    color: #64748b;
    margin-top: 1px;
}

.p4-main-view {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f3f4f6;
    min-width: 0;
    min-height: 0;
}

.p4-viewer-layout {
    display: flex;
    flex: 1;
    overflow: hidden;
    min-width: 0;
    min-height: 0;
    position: relative;
}

.p4-toolbar {
    height: 48px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    flex-shrink: 0;
}

.p4-tb-left, .p4-tb-right, .p4-tb-center {
    display: flex;
    align-items: center;
    gap: 15px;
}

.p4-icon, .p4-toolbar-item {
    color: #6b7280;
    font-size: 16px;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 4px 6px;
    transition: background-color 0.1s, border-color 0.1s;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

.p4-toolbar-item svg,
.p4-toolbar-item img {
    pointer-events: none;
}

.p4-icon:hover, .p4-toolbar-item:hover {
    color: #1f2937;
    background-color: #f3f4f6;
    border: 1px solid #000000;
}

.p4-zoom-control {
    font-size: 12px;
    color: #4b5563;
    display: flex;
    align-items: center;
    padding: 4px 8px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: #f9fafb;
    cursor: pointer;
}

.p4-document-container {
    flex: 1;
    overflow: auto;
    padding: 10px 40px 40px 40px;
    display: flex;
    justify-content: center;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

.p4-document-scaler {
    flex-shrink: 0;
    width: 800px;
    min-height: 1131px;
    transform-origin: top left;
}

.p4-document {
    background: #fff;
    width: 800px;
    min-height: 1131px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 15px 100px 40px 100px;
    position: relative;
    overflow: hidden;
    font-family: 'Times New Roman', Times, serif;
    color: #000;
    transform: scale(1);
    transform-origin: top left;
    transition: transform 0.2s ease;
}

.p4-doc-letterhead {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 5px;
}

.p4-doc-logo {
    width: 450px;
    height: 95px;
    background-image: url('toshkent.jpg');
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    mix-blend-mode: darken;
}

.p4-doc-qr {
    margin-bottom: 10px;
}

.p4-doc-rule {
    margin: 0 -53px 30px -53px;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.pdf-sidebar {
    width: 260px;
    min-width: 260px;
    border-right: 1px solid #e5e7eb;
    display: none;
    flex-direction: column;
    background: #fff;
    z-index: 10;
    position: relative;
}


.p4-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 55px;
    color: rgba(239, 68, 68, 0.25);
    white-space: nowrap;
    pointer-events: none;
    z-index: 10;
    font-family: Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 3px;
}

.p4-document > div {
    position: relative;
    z-index: 1;
}

.hide-on-mobile {
    display: flex;
}


@media (max-width: 1100px) {
    .p4-sidebar:not(.right-sidebar) {
        width: 320px;
    }

    .p4-document-container {
        padding: 10px 16px 24px 16px;
    }
}


@media (max-width: 768px) {
    html, body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .page {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .hide-on-mobile {
        display: none !important;
    }

    input, select, textarea {
        font-size: 16px !important;
    }


    #page1.active {
        padding: 16px;
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
        align-items: center;
        justify-content: center;
        min-height: 100vh;
        min-height: 100dvh;
        height: 100dvh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .p1-card {
        margin: auto;
        padding: 24px 18px;
        border-radius: 16px;
        max-width: 100%;
        box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    }

    .p1-header {
        margin-bottom: 20px;
        gap: 12px;
    }

    .p1-logo {
        margin-right: 0;
        flex-shrink: 0;
    }

    .p1-logo img {
        width: 48px;
        height: 48px;
    }

    .p1-title-group {
        min-width: 0;
    }

    .p1-title-group h2 {
        font-size: 16px;
        line-height: 1.3;
    }

    .p1-title-group p {
        font-size: 12px;
    }

    .p1-info {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .p1-btn {
        padding: 14px 12px;
        font-size: 13px;
        letter-spacing: 0.3px;
    }

    .p1-btn-logo {
        height: 22px;
        margin-right: 8px;
    }


    #page2.active {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .p2-top-banner {
        flex-direction: column;
        height: auto;
        padding: 12px 16px;
        padding-top: max(12px, env(safe-area-inset-top));
        text-align: center;
        gap: 6px;
    }

    .p2-banner-text-left,
    .p2-banner-text-right {
        font-size: 11px;
        text-align: center;
        line-height: 1.4;
    }

    .p2-banner-center {
        position: relative;
        left: auto;
        transform: none;
        order: -1;
    }

    .p2-banner-center h1 {
        font-size: 32px;
    }

    .p2-navbar {
        flex-wrap: wrap;
        padding: 10px 16px;
        gap: 10px;
    }

    .p2-nav-left,
    .p2-nav-right {
        gap: 12px;
        flex-wrap: wrap;
    }

    .p2-nav-left {
        flex: 1;
        min-width: 0;
    }

    .p2-oneid-logo {
        font-size: 20px !important;
    }

    .p2-nav-item {
        font-size: 12px;
        white-space: nowrap;
    }

    .p2-main-content {
        padding: 24px 16px 40px;
        padding-bottom: max(40px, env(safe-area-inset-bottom));
        width: 100%;
    }

    .p2-title {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .p2-login-card {
        padding: 20px 16px;
        max-width: 100%;
        border-radius: 10px;
    }

    .p2-tabs {
        margin-bottom: 20px;
        padding: 3px;
    }

    .p2-tab {
        font-size: 12px;
        padding: 10px 2px;
        white-space: nowrap;
    }

    .p2-footer-text {
        padding: 0 8px;
        font-size: 11px;
    }


    .p3-emblem {
        width: 96px;
        height: 96px;
    }


    #page4.active {
        height: 100vh;
        height: 100dvh;
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

    .p4-topbar {
        height: 56px;
        padding: 0 12px;
        gap: 8px;
    }

    .p4-topbar-left {
        gap: 8px;
        flex: 1;
        min-width: 0;
    }

    .p4-emblem {
        width: 36px;
        height: 36px;
    }

    .p4-topbar-title {
        font-size: 13px !important;
        min-width: 0;
    }

    .p4-topbar-title span {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .p4-menu-btn {
        cursor: pointer;
        padding: 8px;
        margin-left: -8px;
        font-size: 18px;
    }

    .p4-sidebar:not(.right-sidebar) {
        position: fixed;
        left: -110%;
        top: calc(56px + env(safe-area-inset-top, 0px));
        bottom: 0;
        width: min(380px, 88vw);
        z-index: 1000;
        box-shadow: 4px 0 15px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        display: block;
        padding-bottom: env(safe-area-inset-bottom);
    }

    .p4-sidebar:not(.right-sidebar).open {
        left: 0;
    }

    .p4-sidebar-backdrop {
        display: none;
        position: fixed;
        top: calc(56px + env(safe-area-inset-top, 0px));
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }

    .p4-sidebar-backdrop.show {
        display: block;
    }

    .p4-toolbar {
        overflow-x: hidden;
        overflow-y: hidden;
        padding: 0 8px;
        height: 44px;
        gap: 4px;
    }

    .p4-tb-left {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        flex: 1;
        min-width: 0;
        gap: 6px;
        flex-shrink: 1;
    }

    .p4-tb-left::-webkit-scrollbar {
        display: none;
    }

    .p4-tb-right,
    .p4-tb-center {
        gap: 6px;
        flex-shrink: 0;
    }

    .p4-toolbar-item#tb-zoom-in,
    .p4-toolbar-item#tb-zoom-out {
        min-width: 36px;
        min-height: 36px;
        justify-content: center;
    }

    .p4-document-container {
        padding: 8px;
        justify-content: flex-start;
        align-items: flex-start;
        overflow: auto;
        min-width: 0;
        width: 100%;
    }

    .p4-document-scaler {
        width: 800px;
        min-height: 1131px;
        height: 1131px;
        overflow: hidden;
    }

    .p4-document {
        transform: scale(1);
        transform-origin: top left;
    }

    .p4-viewer-layout {
        position: relative;
    }

    .pdf-sidebar {
        position: absolute !important;
        left: 0;
        top: 0;
        bottom: 0;
        width: min(260px, 82vw) !important;
        min-width: 0 !important;
        z-index: 30;
        box-shadow: 4px 0 16px rgba(0,0,0,0.12);
    }

    .right-sidebar {
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: min(300px, 90vw);
        z-index: 30;
        background: #fff;
        box-shadow: -4px 0 16px rgba(0,0,0,0.12);
    }

    .dropdown-menu {
        max-width: calc(100vw - 24px);
        min-width: 200px;
    }

    .panel-dropdown {
        width: min(320px, calc(100vw - 24px));
    }
}


@media (max-width: 430px) {
    .p1-card {
        padding: 20px 14px;
    }

    .p1-title-group h2 {
        font-size: 15px;
    }

    .p2-banner-text-left,
    .p2-banner-text-right {
        font-size: 10px;
    }

    .p2-tab {
        font-size: 11px;
        padding: 9px 0;
    }

    .p2-nav-item.dropdown {
        padding: 5px 8px;
        font-size: 12px;
    }

    .p4-topbar-title {
        font-size: 12px !important;
    }

    .p4-topbar-title span {
        font-size: 10px !important;
    }

    .p4-emblem {
        width: 32px;
        height: 32px;
    }
}


@media (max-width: 900px) and (max-height: 500px) {
    #page1.active {
        align-items: center;
        justify-content: center;
        padding: 12px;
        overflow-y: auto;
        height: auto;
        min-height: 100dvh;
    }

    .p1-card {
        padding: 16px;
    }

    .p2-top-banner {
        flex-direction: row;
        height: auto;
        padding: 8px 16px;
    }

    .p2-banner-center {
        position: static;
        transform: none;
        order: 0;
    }

    #page4.active {
        height: 100dvh;
    }

    .p4-topbar {
        height: 48px;
    }
}


.dropdown-container {
    position: relative;
    cursor: pointer;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    border-radius: 4px;
    min-width: 220px;
    display: none;
    flex-direction: column;
    z-index: 100;
    padding: 5px 0;
}
.panel-dropdown {
    left: auto;
    right: -10px;
    width: 320px;
    padding: 15px;
    margin-top: 15px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
}
.panel-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 18px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
    border-top: 1px solid #e5e7eb;
    border-left: 1px solid #e5e7eb;
}
.dropdown-menu.show {
    display: flex;
}
.dropdown-header {
    padding: 5px 15px;
    font-size: 11px;
    color: #9ca3af;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 5px;
}
.dropdown-item {
    padding: 8px 15px;
    font-size: 13px;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.dropdown-item:hover {
    background: #f3f4f6;
}
.dropdown-item.active {
    background: #eff6ff;
    color: #2563eb;
    border-left: 3px solid #2563eb;
    padding-left: 12px;
}
.dropdown-item i {
    width: 15px;
    text-align: center;
}
.dropdown-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 5px 0;
}
.zoom-menu {
    min-width: 220px;
    max-height: 400px;
    overflow-y: auto;
}


.p4-toolbar-item.active {
    background: #fff;
    color: #2563eb;
    border: 1px solid #2563eb;
}


.p4-toolbar-center {
    color: #2563eb;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 2px;
}


.right-sidebar {
    border-left: 1px solid #e5e7eb;
    border-right: none;
    width: 300px;
}
.rs-search-box {
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 5px 10px;
    margin-bottom: 15px;
}
.rs-search-box i {
    color: #9ca3af;
    margin-right: 10px;
}
.rs-search-box input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 13px;
}
.rs-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #374151;
}

.rs-notes-header {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.rs-notes-sort {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.rs-notes-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #9ca3af;
    text-align: center;
    font-size: 12px;
}
