body {
    margin: 0;
    padding: 0;
    background-size: cover;
    background-color: rgb(229, 227, 227); /* Mobilnak kinéző háttér */
}

@media (min-width: 769px) {
    body {
        max-width: 720px;
        margin: 0 auto;
        max-height: 1600px;
    }
}
.theme-dark {
    background-color: rgb(47, 45, 45); /* Mobilnak kinéző háttér */
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    margin: 15px
}

.preload-img {
    display: block;
}

.form-group2 {
    display: flex;
    justify-content: flex-end; /* A teljes mező jobbra igazítása */
    align-items: center;
    margin-top: 14px;
}


.priority-select {
    font-size: 0.9rem; /* Szöveg méretének beállítása */
    width: 40px; /* A lenyíló menü szélessége */
    padding: 2px 5px; /* Belső margó */
    text-align: right; /* A kiválasztott érték jobbra igazítása */
}

textarea.form-control {
    resize: vertical; /* Engedélyezi a függőleges átméretezést, ha szükséges */
}

/* Világos mód - alapértelmezett színek */
.priority-red i {
    color: red;
}

.priority-orange i {
    color: orange;
}

.priority-gray i {
    color: gray;
}

/* Sötét mód - csak a szürke ikon váltson fehérre, a többi ikon megtartja az eredeti színét */
.theme-dark .priority-red i {
    color: red !important;  /* A !important magasabb prioritású stílust ad */
}

.theme-dark .priority-orange i {
    color: orange !important;
}

.theme-dark .priority-gray i {
    color: white !important;  /* Csak a szürke ikon változzon fehérre */
}

#title {
    width: 100%;
    padding: 10px;
    font-size: 18px !important;
    border-radius: 5px;
    margin-bottom: 15px;
}

#title::placeholder {
    font-size: 18px !important;
    color: #999 !important;
    opacity: 1; /* Teljes láthatóság */
}

/* Alapstílus a világos témához */
label {
    font-size: 16px; /* Nagyobb betűméret */
    font-weight: 500;
    color: black; /* Alapértelmezett fekete szín */
}

/* Sötét téma esetén */
.theme-dark label {
    color: white; /* Sötét módban fehér szín */
}

/* Világos mód - toolbar gombok és ikonok */
.ql-toolbar button,
.ql-toolbar button .ql-stroke,
.ql-toolbar button .ql-fill {
    stroke: rgb(174, 84, 84) !important;
}

/* Sötét mód - toolbar gombok és ikonok */
.theme-dark .ql-toolbar button,
.theme-dark .ql-toolbar button .ql-stroke,
.theme-dark .ql-toolbar button .ql-fill {
    stroke: rgb(192, 192, 192) !important;
}

.form-group3 {
    display: flex;
    justify-content: center; /* Középre helyezés vízszintesen */
    padding-top: 15px;
}

.ql-toolbar {
    display: flex;
    justify-content: center; /* Középre rendezi az elemeket */
    padding: 5px; /* Belépítési tér */
}

.ql-toolbar .ql-formats {
    display: flex;
    justify-content: center; /* Biztosítja, hogy a csoportosított elemek is középen legyenek */
}

/* A lenyíló elemek hátterének beállítása átlátszó szürkére */
.ql-toolbar .ql-picker-options {
    background-color: rgba(128, 128, 128, 0.5); /* Átlátszó szürke */
}

/* Világos módhoz */
.ql-toolbar .ql-picker-options {
    background-color: white; /* Alapértelmezett háttér szín világos módban */
}

/* Sötét módhoz */
.theme-dark .ql-toolbar .ql-picker-options {
    background-color: black !important; /* Fekete háttér sötét módban */
    color: white !important; /* Fehér szöveg szín */
}

/* Világos módhoz */
.ql-toolbar {
    background-color: #fbfbfb !important; /* Világos szürke háttér világos módban */
}

/* Sötét módhoz */
.theme-dark .ql-toolbar {
    background-color: #252525 !important; /* Sötét szürke háttér sötét módban */
}

/* Quill szerkesztő szegély és árnyék */
.ql-container {
    border-radius: 10px; /* Kerekített sarkok */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Enyhe árnyék */
    overflow: hidden; /* A tartalom túlcsordulásának elrejtése */
}

/* Toolbar kerekített sarkok */
.ql-toolbar {
    border-radius: 10px 10px 10px 10px; /* Csak a felső sarkok legyenek kerekítve */
}

/* Szerkesztő terület kerekített sarkok */
.ql-editor {
    border-radius: 0 0 10px 10px; /* Csak az alsó sarkok legyenek kerekítve */
}

/* Beviteli mező betűmérete */
.ql-editor {
    font-size: 20px; /* Betűméret beállítása */
}

/* Világos módhoz */
.ql-container .ql-editor p, 
.ql-container .ql-editor span, 
.ql-container .ql-editor div {
    color: black !important; /* Világos módban fekete betűszín */
}

/* Sötét módhoz */
.theme-dark .ql-container .ql-editor p, 
.theme-dark .ql-container .ql-editor span, 
.theme-dark .ql-container .ql-editor div {
    color: white !important; /* Sötét módban fehér betűszín */
}


#new-post-form-dropdown {
    background-color: #f7f7f7; /* világos módhoz */
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.08);
    display: none;
    position: absolute;
    top: 120%;
    left: 10px;
    right: 0;
    width: 100%;
    max-width: 97%;
    height: calc(99vh - 120px);
    overflow-y: auto;
    z-index: 100;
}

.theme-dark #new-post-form-dropdown {
    background-color: #1f1f1f;
    color: #ffffff;
}

.announcement {
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.no-announcements {
    text-align: center;
    font-style: italic;
    color: #888;
}

/* Announcement doboz stílusa */
.announcement-box {
    border: 2px solid #f00d0d;
    border-radius: 8px;
    padding: 15px;
    margin: 20px !important;
}

/* Cím stílusa */
.announcement-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Tartalom szövegének stílusa */
.announcement-content {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.5;
    color:#0056b3 !important;
}

/* Tartalom szövegének stílusa */
.announcement-content p {
    color:#0056b3 !important;
}

/* Meta adatok stílusa: szerző és dátum */
.announcement-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
}

.announcement-author,
.announcement-date {
    display: flex;
    align-items: center;
}

.announcement-author i,
.announcement-date i {
    margin-right: 5px;
    color: #888;
}

#announcements p, 
#announcements div, 
#announcements span {
    color: black !important; /* Vagy bármilyen kívánt szín */
    margin-bottom: 10px !important; /* 10px távolság a bekezdések között */
}

.theme-dark #announcements p, 
.theme-dark #announcements div, 
.theme-dark #announcements span {
    color: rgb(255, 255, 255) !important; /* Vagy bármilyen kívánt szín */
    margin-bottom: 10px !important; /* 10px távolság a bekezdések között */
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-link {
    cursor: pointer;
    padding: 5px; /* Kisebb gombok */
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    font-size: 14px; /* Ikon mérete */
}

.page-link:hover {
    background-color: #0056b3;
}

.page-numbers {
    display: flex;
    align-items: center;
}

.page-number {
    margin: 0 10px;
    cursor: pointer;
    font-size: 16px; /* Ikon mérete */
}

.page-number.active {
    font-weight: bold;
    text-decoration: underline;
}