body {
    font-family: Arial, sans-serif;
    background-color: #222736;
    height: 100vh;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #120C18;
    width: 90%;
    max-width: 1400px;
    height: 90%;
    border: 1px solid #655475;
    display: flex;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 27px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 24px;
    cursor: pointer;
    color: #fb3239;
}

iframe {
    width: 60%;
    height: 100%;
    border-radius: 4px;
    border: 2px solid #6f345b;
    background-color: #ffffff;
}

.modal-description {
    width: 35%;
    margin-left: 20px;
    color: #ffffff;
}

.modal-title-box {
    background-color: #1C1326;
    padding: 10px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 5px;
    margin-bottom: 20px;
}

.modal-info {
    font-size: 14px;
    color: #cccccc;
}

.modal-page-number {
    margin-top: 20px;
    display: inline-block;
    background-color: #fb3239;
    color: white;
    padding: 5px 15px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    border: 2px solid #6f345b;
}

.open-modal-btn {
    padding: 10px 20px;
    background-color: #fb3239;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.open-modal-btn:hover {
    background-color: #e42c33;
}

.modal-description-easy {
    background-color: #1C1326;
    padding: 10px;
    font-size: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}


::-webkit-scrollbar {
    width: 10px; 
}

::-webkit-scrollbar-track {
    background: #2a3042; 
    border-radius: 10px;  
}

::-webkit-scrollbar-thumb {
    background-color: #6f345b; 
    border-radius: 10px;       
    border: 2px solid #2a3042; 
}

.scrollable {
    scrollbar-width: thin;      
    scrollbar-color: #6f345b #2a3042; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 250px;
    background-color: #2a3041;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 1000;
    transition: transform 0.3s ease; 
}

.sidebar a {
    color: #fff;
    text-decoration: none;
    padding: 15px 0;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.sidebar a:hover {
    background-color: #fb3239;
    border-radius: 5px;
    padding-left: 10px;
}

.header {
    position: fixed;
    top: 0;
    left: 250px;
    width: calc(100% - 250px);
    height: 76px;
    background-color: #262b3c;
    display: flex;
    align-items: center;
    padding-left: 20px;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    z-index: 1000;
}

.content {
    margin-left: 250px;
    margin-top: 60px;
    padding: 20px;
    background-color: #2a3042;
}

.inner {
    padding: 20px;
    margin-left: 250px; 
    transition: margin-left 0.3s ease; 
}

@media screen and (max-width: 768px) {
    .sidebar {
        transform: translateX(-250px); 
    }

    .sidebar.show {
        transform: translateX(0); 
    }

    .header {
        left: 0;
        width: 100%;
    }

    .content {
        margin-left: 0;
    }

    .inner {
        margin-left: 0; 
    }
}


.menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    background-color: #6f345b;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    z-index: 1000;
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
}

.bzi {
    display: block;
    width: 80px;
    margin: 0 auto 20px auto;
}


.telegram-chat {
    display: flex;
    align-items: flex-end;
    margin-bottom: 10px;
}


.profile-picture {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}


.message-box {
    position: relative;
    background-color: #FFFFFF;
    padding: 10px 15px;
    border-radius: 18px;
    max-width: 350px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}


.message-box::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -8px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-top-color: #e5e5ea;
    border-bottom: 0;
    border-left: 0;
    margin-left: -1px;
    margin-bottom: -1px;
}


.message-text {
    margin: 0;
    color: #000;
    font-size: 14px;
}


.message-time {
    display: block;
    font-size: 12px;
    color: #888;
    text-align: right;
    margin-top: 5px;
}

.notification-wrapper {
    position: relative;
    display: inline-block;
	margin-left: 15%;
}


.notification-wrapper {
    position: relative;
    display: inline-block;
}


.circle-button {
            width: 50px; 
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
}

.arrow-down {
    font-size: 24px;
    color: #777;
}

.notification-badge {
    position: absolute;
    top: -10px; 
    left: 50%;
    transform: translateX(-50%); 
    background-color: #29abe2;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    font-weight: bold;
}

.popup-preview-container {
    margin-top: 15px;
    position: relative; 
}

.hover-area {
    font-size: 16px;
    color: #08e8ff;
    cursor: pointer;
    position: relative;
    display: inline-block;
}


.popup-preview {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 550px;
    max-width: 90%; 
    background-color: #1a1a1a;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    display: none; 
    text-align: center;
    z-index: 9999;
    font-size: 18px;
    overflow: hidden;
}

.popup-preview img {
    width: 100%;
    height: auto;
    margin-bottom: 15px; 
}

.hover-area:hover .popup-preview {
    display: block;
}

.popup-preview::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: #1a1a1a transparent transparent transparent;
}


.popup-preview p {
    margin: 10px 0;
    font-size: 16px;
}

@media screen and (max-width: 768px) {
    .modal-content {
        flex-direction: column; 
        overflow-y: auto;
    }

    iframe#templateFrame { 
        width: 100%; 
        height: 60%; 
        margin-bottom: 20px; 
    }

    .modal-description {
        width: 100%; 
        margin-left: 0; 
        height: auto; 
        overflow-y: auto; 
    }
}

.category-filters-container {
    text-align: center;
    margin-bottom: 25px; 
    padding: 10px 0;
}

.filter-btn {
    background-color: #2a3041; 
    border: 1px solid #4A5568; 
    color: #E2E8F0; 
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    font-family: inherit; 
    margin: 4px 6px;
    cursor: pointer;
    border-radius: 8px; 
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.filter-btn:hover {
    background-color: #f2849e; 
    color: #ffffff;
}

.filter-btn.active-filter {
    background-color:  #f2849e; 
    color: white;
    border-color: ; 
    font-weight: 600; 
}

.hidden-article {
    display: none !important;
}