.announcement-list {
    display: flex;
    flex-direction: column;
    gap: 12px;

    max-height: 620px;
    overflow-y: auto;

    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

/* Chrome, Edge, Safari */
.announcement-list::-webkit-scrollbar {
    width: 6px;
}

.announcement-list::-webkit-scrollbar-track {
    background: transparent;
}

.announcement-list::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 999px;
    transition: all .2s ease;
}

/* Hover olunca scrollbar görünür */
.announcement-list:hover {
    scrollbar-color: #cbd5e1 transparent;
}

.announcement-list:hover::-webkit-scrollbar-thumb {
    background: #cbd5e1;
}

/* Scrollbar'ın üzerine gelince biraz koyulaşsın */
.announcement-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.announcement-item-pro {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 12px;
    transition: 0.2s;
}

.announcement-item-pro:hover {
    background: #f5f6fa;
}

.announcement-left {
    flex-shrink: 0;
}

.announcement-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.announcement-body {
    flex: 1;
}

.announcement-title {
    font-size: 13px;
    font-weight: 600;
}

.announcement-meta {
    font-size: 11px;
    color: #888;
    display: flex;
    gap: 10px;
    margin-top: 2px;
}

.announcement-status {
    flex-shrink: 0;
}

.dot {
    width: 8px;
    height: 8px;
    background: red;
    border-radius: 50%;
    display: inline-block;
}

.card-modern {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.05);
}

/* ===== TOP BAR ===== */
.forum-top {
    padding: 20px;
    border-radius: 16px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-box {
    text-align: center;
}

.stat-box strong {
    font-size: 18px;
}



/* ===== LEFT ===== */
.left-panel .card-modern {
    padding: 16px;
    margin-bottom: 16px;
}


/* ===== CHAT ===== */
.chat-card {
    padding: 20px;
}

.chat-header {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:15px;
}


/* ===== MESSAGE ===== */
.message-row {
    display:flex;
    gap:10px;
    margin-bottom:15px;
}

.message-row.mine {
    flex-direction:row-reverse;
}


.message-box {
    background:#fff;
    padding:12px;
    border-radius:12px;
    max-width:75%;
    position:relative;
}

.message-row.mine .message-box {
    background:linear-gradient(135deg,#6f42c1,#8e44ad);
    color:white;
}

.reply-box {
    display:flex;
    margin-top:8px;
    gap:6px;
}


.reply-box button {
    border:none;
    background:#6f42c1;
    color:#fff;
    border-radius:50%;
    width:32px;
}

.forum-top-modern {
    background: #fff;
    padding: 18px 22px;
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}



/* STATS */
.forum-stats {
    gap: 18px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ICON */
.stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:16px;
}

.stat-icon.purple {
    background: #f0ebff;
    color: #6f42c1;
}

.stat-icon.blue {
    background: #e7f1ff;
    color: #0d6efd;
}

/* TEXT */
.stat-value {
    font-weight: 700;
    font-size: 16px;
}

.stat-label {
    font-size: 12px;
    color: #6c757d;
}

/* DIVIDER */
.stat-divider {
    width: 1px;
    height: 32px;
    background: #e9ecef;
}

.avatar-lg {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    overflow: hidden;
}

.avatar-lg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.create-topic-card {
    padding: 18px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

/* HEADER */
.create-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.create-header i {
    color: #6f42c1;
    font-size: 18px;
}

/* INPUT */
.topic-input {
    border-radius: 10px;
    height: 42px;
    font-size: 14px;
    border: 1px solid #e2e5ec;
    margin-bottom: 12px;
    padding: 10px;
}

.topic-input:focus {
    border-color: #6f42c1;
    box-shadow: 0 0 0 2px rgba(111,66,193,0.1);
}


.mentor-topic-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* GROUP */
.mentor-group {
    border-radius: 12px;
    padding: 10px;
    background: #fafbff;
}

/* HEADER */
.mentor-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

/* AVATAR */
.mentor-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg,#6f42c1,#8e44ad);
    color: white;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size: 12px;
    font-weight: 600;
}

/* NAME */
.mentor-name {
    font-size: 13px;
    font-weight: 600;
}

/* TOPIC LIST */
.mentor-topics {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ITEM */
.topic-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-radius: 8px;
    transition: 0.2s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.topic-item:hover {
    background: #f1f3ff;
}

.topic-item.active {
    background: #ebe6ff;
}

/* LEFT */
.topic-left {
    display: flex;
    gap: 6px;
    font-size: 13px;
}

/* COUNT */
.topic-count {
    background: #6f42c1;
    color: white;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 6px;
}

/* EMPTY */
.empty-mentor {
    position: sticky;
    top: 0;
    z-index: 10;
    background: white;
}

.topics-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.tab-btn {
    flex: 1;
    padding: 8px;
    border: none;
    background: none;
    font-size: 13px;
    font-weight: 500;
    color: #888;
    cursor: pointer;
    position: relative;
}

.tab-btn.active {
    color: #6f42c1;
}

.tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #6f42c1;
}

/* ANA BAŞLIK */
.welcome-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c2c2c;
}

.welcome-title span {
    color: #6f42c1;
}

/* ALT BAŞLIK */
.welcome-subtitle {
    font-size: 13px;
    font-weight: 500;
    color: #6c757d;
}

/* CHAT KAPSAYICI */
.chat-box {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 🔥 SABİT INPUT */
.chat-input-sticky {
    position: sticky;
    top: 0;
    z-index: 10;
    background: white;
    padding-bottom: 10px;
}

/* INPUT TASARIMI */
.chat-input-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f5f6fa;
    padding: 10px;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.chat-input-box input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px;
    font-size: 14px;
    outline: none;
    min-width: 0;
    width: 100%;
}

.chat-input-box button {
    background: linear-gradient(135deg,#6f42c1,#8e44ad);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 8px 14px;
    transition: 0.2s;
}

.chat-input-box button:hover {
    transform: scale(1.05);
}

/* 🔥 MESAJ ALANI */
.chat-messages {
    overflow-y: auto;
    max-height: 600px;
    padding-top: 10px;
}


.avatar.small {
    width: 30px;
    height: 30px;
    font-size: 12px;
}

/* CONTENT */
.message-content {
    flex: 1;
}

/* HEADER */
.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size:12px;
}

/* TEXT */
.message-text {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.5;
}


/* REPLY LIST */
.reply-list {
    margin-left: 50px;
    border-left: 2px solid #e5e7eb;
    padding-left: 15px;
    position: relative;
}

.reply-list::before {
    content: "";
    position: absolute;
    left: -2px;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, #ddd, transparent);
}


/* MENTOR REPLY VURGUSU */
.reply-item.mentor-reply {
    background: #f3efff;
    padding: 8px;
    border-radius: 10px;
}

.btn-create-topic {

    display: inline-flex;
}

.btn-create-topic:hover {
    text-decoration: none;
    color: inherit;
}

/* BUTTON */
.btn-create-topic {
    text-decoration: none; 
    width: 100%;
    border: none;
    height: 42px;
    border-radius: 10px;
    font-weight: 500;
    color: white;

    background: linear-gradient(135deg, #6f42c1, #8e44ad);

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    transition: all 0.2s ease;
}

/* HOVER EFFECT */
.btn-create-topic:hover {
    box-shadow: 0 6px 14px rgba(111,66,193,0.3);
}

/* ROW */
.topic-row {
    position: relative;
    z-index:1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 6px;
    border-radius: 10px;
}

/* ACTIVE */
.topic-row.active {
    background: #f3efff;
}
.topic-row:hover{
    z-index: 20;
}

/* ACTIONS */
.topic-actions {
    display: flex;
    gap: 6px;
}



/* COLORS */
.action-btn.edit {
    color: #6f42c1;
}

/* HOVER */
.action-btn:hover:not(.disabled) {
    transform: scale(1.05);
    background: #e9eaf3;
}

/* DISABLED */
.action-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* TOOLTIP */
.action-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    background: #2c2c2c;
    color: white;
    font-size: 11px;
    padding: 4px 7px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    transition: 0.2s;
}

/* SHOW */
.action-btn:hover::after {
    opacity: 1;
}

.action-btn::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);

    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent #2c2c2c transparent;

    opacity: 0;
}

/* DISABLED STATE */
.btn-create-topic.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}


.btn-create-topic::after {
    content: attr(data-tooltip);
    position: absolute;

    top: -38px;
    left: 50%;
    transform: translateX(-50%);

    /* 🔥 SOFT BACKGROUND */
    background: #f8f9fc;
    color: #333;

    font-size: 12px;
    padding: 6px 10px;
    border-radius: 8px;

    white-space: nowrap;

    /* 🔥 SOFT SHADOW */
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);

    opacity: 0;
    transition: all 0.2s ease;

    pointer-events: none;
    z-index: 999;
}

/* 🔥 OK TAMAMEN KALDIRILDI */
.btn-create-topic::before {
    display: none;
}

/* SHOW */
.btn-create-topic:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px); /* hafif float */
}

/* BACKDROP */
.custom-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* MODAL BOX */
.modal-content {
    width: 400px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    overflow: hidden;
    animation: fadeIn 0.2s ease;
}

/* HEADER */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
}

.modal-header h6 {
    margin: 0;
    font-weight: 600;
}

.close-btn {
    cursor: pointer;
    font-size: 18px;
}

/* BODY */
.modal-body {
    padding: 16px;
}

.modal-body input {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 10px;
}

/* FOOTER */
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid #eee;
}

/* BUTTONS */
.btn-cancel {
    background: #f1f2f6;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
}

.btn-delete {
    background: #ffecec;
    color: #dc3545;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
}

.btn-save {
    background: linear-gradient(135deg,#6f42c1,#8e44ad);
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
}

/* ANIMATION */
@keyframes fadeIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* BACKDROP */
.custom-modal {
    position: fixed;
    inset: 0;
    background: rgba(20, 20, 40, 0.45);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* BOX */
.modal-content-pro {
    width: 420px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    overflow: hidden;
    animation: modalFade 0.25s ease;
}

/* HEADER */
.modal-header-pro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid #f0f0f0;
}

.modal-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #333;
}

.modal-title i {
    color: #6f42c1;
}

.close-btn {
    font-size: 18px;
    cursor: pointer;
    color: #888;
}

/* BODY */
.modal-body-pro {
    padding: 18px;
}

.topic-input-pro {
    margin-top: 6px;
    border-radius: 10px;
    border: 1px solid #e2e5ec;
    padding: 10px;
}

.topic-input-pro:focus {
    border-color: #6f42c1;
    box-shadow: 0 0 0 2px rgba(111,66,193,0.1);
}

.helper-text {
    font-size: 12px;
    color: #888;
    display: block;
    margin-top: 6px;
}

/* FOOTER */
.modal-footer-pro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-top: 1px solid #f0f0f0;
}

/* LEFT */
.footer-left {
}

/* RIGHT */
.footer-right {
    display: flex;
    gap: 8px;
}

/* BUTTONS */

/* DELETE (danger ama soft) */
.btn-delete-pro {
    background: #fff5f5;
    color: #dc3545;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
}

.btn-delete-pro:hover {
    background: #ffeaea;
}

/* CANCEL */
.btn-cancel-pro {
    background: #f1f2f6;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
}

/* SAVE */
.btn-save-pro {
    background: linear-gradient(135deg,#6f42c1,#8e44ad);
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 500;
}

.btn-save-pro:hover {
    box-shadow: 0 6px 14px rgba(111,66,193,0.3);
}

/* ANIMATION */
@keyframes modalFade {
    from {
        transform: translateY(10px) scale(0.96);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.reply-box form {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.reply-box input {
    flex: 1;
    padding: 6px 10px;
}

.reply-box button {
    padding: 6px 10px;
}

.empty-topic-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 420px;
    text-align: center;
    padding: 30px;
}

.empty-icon {
    font-size: 48px;
    color: #6366f1;
    margin-bottom: 15px;
}

.empty-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.empty-desc {
    font-size: 14px;
    color: #6b7280;
    max-width: 420px;
    margin-bottom: 20px;
}

.empty-action {
    font-size: 13px;
    color: #6366f1;
    background: #eef2ff;
    padding: 8px 14px;
    border-radius: 8px;
}

.chat-input-wrapper {
    position: relative;
    width: 100%;
}

.char-counter {
    position: absolute;
    right: 10px;
    bottom: -18px;
    font-size: 12px;
    color: #6b7280;
    transition: 0.2s;
}

.char-counter.warning {
    color: #f59e0b; /* turuncu */
}

.char-counter.danger {
    color: #ef4444; /* kırmızı */
    font-weight: 500;
}

.main-message .message-text {
    font-weight: 600;
    font-size: 15px;
}

.main-message .message-box {
    padding-left: 10px;
}

.reply-message .message-text {
    font-weight: normal;
    font-size: 14px;
    color: #555;
}

.message-card {
    display: block;
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

.message-card:hover {
    background: #f9fafb;
}

.message-title {
    font-weight: 600;
}

.message-meta {
    font-size: 12px;
    color: #777;
    display: flex;
    gap: 10px;
}
/* BACK */
.thread-top {
    margin-bottom: 10px;
}

.back-link {
    font-size: 13px;
    color: #6b7280;
    text-decoration: none;
}


.avatar.small {
    width: 28px;
    height: 28px;
    font-size: 12px;
}

.post-info .user {
    font-weight: 600;
    font-size: 14px;
}

.post-info .time {
    font-size: 12px;
    color: #888;
}

/* REPLY ITEM */
.reply-post {
    display: flex;
    position: relative;
}

/* SOL ÇİZGİ (THREAD FEEL) */
.reply-line {
    margin-left:10px;
    width: 1px;
    background: #e5e7eb;
    margin-right: 10px;
}

/* BODY */
.reply-body {
    background: #fafafa;
    padding: 10px;
    border-radius: 8px;
    width: 100%;
}

/* INPUT */
.reply-box-forum {
    margin-top: 20px;
}

.reply-input-wrapper {
    display: flex;
    gap: 8px;
}

.reply-input-wrapper input {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.reply-input-wrapper button {
    padding: 10px 14px;
    border-radius: 8px;
    background: #6366f1;
    color: white;
    border: none;
}

.forum-guest-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 420px;
}

/* CARD */
.forum-guest-card.modern {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    padding: 45px;
    border-radius: 20px;
    max-width: 520px;
    text-align: center;
    border: 1px solid #eee;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

/* BADGE */
.guest-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6366f1;
    background: rgba(99,102,241,0.1);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 15px;
}

/* TITLE */
.guest-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* DESC */
.guest-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* BUTTON */
.btn-join {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 10px;
    background: #6366f1;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-join:hover {
    background: #4f46e5;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(99,102,241,0.25);
}

.forum-timeline {
    position: relative;
    padding-left: 20px;
}

/* DİKEY ÇİZGİ */
.forum-timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
}

/* ITEM */
.timeline-item {
    position: relative;
    margin-bottom: 18px;
    display: flex;
}

/* DOT */
.timeline-dot {
    width: 10px;
    height: 10px;
    background: #6366f1;
    border-radius: 50%;
    position: absolute;
    left: 4px;
    top: 6px;
}

/* CONTENT */
.timeline-content {
    margin-left: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LINK */
.timeline-link {
    text-decoration: none;
    color: inherit;
}

/* TITLE */
.timeline-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
}

/* META */
.timeline-meta {
    font-size: 12px;
    color: #777;
    display: flex;
    gap: 12px;
}

/* ACTIONS */
.timeline-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* BUTTON */
.action-btn {
    border: none;
    background: #f3f4f6;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
}

.action-btn:hover {
    background: #e5e7eb;
}

/* DELETE */
.action-btn.delete {
    color: #dc2626;
}

/* LOCK */
.locked-text {
    font-size: 12px;
    color: #9ca3af;
}

/* LIST WRAPPER */
.forum-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ITEM */
.forum-item {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 14px 16px;

    border-radius: 12px;
    background: #ffffff;

    /* 🔥 daha net border */
    border: 1px solid #e5e7eb;

    transition: all 0.2s ease;
}


/* 🔥 HOVER */
.forum-item:hover {
    background: #d3e1f6;

    transform: translateY(-1px);

    box-shadow: 0 6px 16px rgba(0,0,0,0.05);
}
/* ICON */
.item-icon {
    width: 40px;
    height: 40px;
    background: #f3f0ff;
    color: #7c3aed;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CONTENT */
.item-content {
    flex: 1;
    text-decoration: none;
    color: inherit;
}

/* TITLE */
.item-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 3px;
}

/* META */
.item-meta {
    font-size: 12px;
    color: #777;
    display: flex;
    gap: 12px;
}

/* ACTIONS */
.item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* BUTTON ICON */
.btn-icon {
    border: none;
    background: #f3f4f6;
    padding: 6px 8px;
    border-radius: 8px;
    cursor: pointer;
}

/* EDIT */
.btn-icon.edit {
    color: #2563eb;
}

/* DELETE */
.btn-icon.delete {
    color: #dc2626;
}

/* LOCK */
.locked {
    color: #9ca3af;
}

.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.pagination {
    display: flex;
    gap: 6px;
}

.page-btn {
    border: none;
    background: #f3f4f6;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
}

.page-btn.active {
    background: #7c3aed;
    color: white;
}

.page-size select {
    padding: 6px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.top-input-card {
    margin-bottom: 20px;
    padding: 18px;

    /* 🔥 SOFT GRADIENT */
    background: linear-gradient(135deg, #f5f3ff, #eef2ff);

    border-radius: 16px;
    border: 1px solid #e5e7eb;

    /* 🔥 FLOAT EFFECT */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* INNER */
.input-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ICON */
.input-icon {
    width: 40px;
    height: 40px;
    background: #ede9fe;
    color: #7c3aed;
    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* INPUT AREA */
.input-area {
    flex: 1;
    position: relative;
}

.input-area input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
}

/* COUNTER */
.char-counter {
    font-size: 11px;
    color: #888;
    position: absolute;
    right: 0;
    bottom: -16px;
}

/* BUTTON */
.send-btn {
    width: 44px;
    height: 44px;

    border-radius: 12px;
    border: none;

    background: linear-gradient(135deg, #7c3aed, #6366f1);
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    transition: all 0.2s ease;
}

.send-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(124,58,237,0.3);
}
/* =========================
   INPUT CARD WRAPPER
========================= */
.input-card {
    padding: 14px 16px;
    border-radius: 16px;

    background: #ffffff;
    border: 1px solid #e5e7eb;

    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
    background: linear-gradient(135deg, #ffffff, #fafafa);

    margin-bottom: 20px;
}

.section-divider {
    margin-top:10px;
    text-align: center;
    position: relative;
}

/* çizgi */
.divider-line {
    height: 1px;
    background: linear-gradient(to right, transparent, #e5e7eb, transparent);
    margin-bottom: 14px;
}

/* içerik */
.divider-content {
    display: inline-block;
    background: #fff;
    padding: 0 12px;
}

/* başlık */
.divider-title {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

/* açıklama */
.divider-sub {
    font-size: 12px;
    color: #9ca3af;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin: 10px 0 10px 0;
}

.list-header-left {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 16px;
    font-weight: 600;
    color: #374151;
}

.list-header-left i {
    color: #7c3aed;
}

.list-count {
    font-size: 12px;
    color: #9ca3af;
}


/* =========================
   INNER FLEX AREA
========================= */
.input-inner {
    display: flex;
    align-items: center;
    gap: 12px;

    background: #f9fafb;
    padding: 10px 12px;
    border-radius: 12px;

    transition: all 0.2s ease;
}


/* =========================
   ICON
========================= */
.input-icon {
    width: 40px;
    height: 40px;

    background: #ede9fe;
    color: #7c3aed;

    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}


/* =========================
   INPUT AREA
========================= */
.input-area {
    flex: 1;
    position: relative;
}

.input-area input {
    width: 100%;
    border: none;
    background: transparent;

    font-size: 14px;
    color: #111827;

    outline: none;
}

/* Placeholder */
.input-area input::placeholder {
    color: #9ca3af;
}


/* =========================
   CHARACTER COUNTER
========================= */
.char-counter {
    font-size: 11px;
    color: #9ca3af;

    position: absolute;
    right: 0;
    bottom: -18px;
}


/* =========================
   BUTTON
========================= */
.send-btn {
    width: 44px;
    height: 44px;

    border-radius: 12px;
    border: none;

    background: linear-gradient(135deg, #7c3aed, #6366f1);
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition: all 0.2s ease;
}

.send-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(124,58,237,0.3);
}


/* =========================
   FOCUS STATE (EN ÖNEMLİ)
========================= */
.input-inner:focus-within {
    background: #ffffff;
    border: 1px solid #7c3aed;

    box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
}


/* =========================
   HOVER EFFECT
========================= */
.input-inner:hover {
    background: #f3f4f6;
}


/* =========================
   RESPONSIVE (KÜÇÜK DOKUNUŞ)
========================= */
@media (max-width: 768px) {
    .input-inner {
        gap: 8px;
        padding: 8px 10px;
    }

    .send-btn {
        width: 40px;
        height: 40px;
    }

    .input-icon {
        width: 36px;
        height: 36px;
    }
}
.section-header {
    margin-bottom: 20px;
    padding: 22px 26px;

    border-radius: 18px;

 background: linear-gradient(
        90deg,
        #d97706 0%,
        #c2410c 20%,
        #9d174d 50%,
        #7e22ce 80%,
        #6d28d9 100%
    );


    /* 🔥 DERİNLİK */
    box-shadow: 0 12px 30px rgba(91, 33, 182, 0.25);

    color: white;
}

/* FLEX */
.section-header-flex {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* ICON */
.section-icon {
    width: 46px;
    height: 46px;

    border-radius: 12px;

    /* 🔥 İÇERDE CONTRAST */
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;
}

/* TITLE */
.section-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: white;
}

/* SUB */
.section-subtitle {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}

.section-header::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 10px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255,255,255,0.15), transparent);
    border-radius: 50%;
}

.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;

    font-size: 13px;
    color: #6b7280;
}

/* SOL YAZI */
.pagination-info {
    font-size: 12px;
    color: #9ca3af;
}

/* PAGINATION */
.pagination {
    display: flex;
    gap: 4px;
}

/* BUTTON */
.page-btn {
    border: none;
    background: transparent;

    padding: 5px 9px;
    border-radius: 8px;

    font-size: 12px;
    font-weight: 500;

    color: #6b7280;
    cursor: pointer;

    transition: all 0.2s ease;
}

/* HOVER */
.page-btn:hover {
    background: #f3f4f6;
    color: #111827;
}

/* ACTIVE */
.page-btn.active {
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    color: white;

    box-shadow: 0 4px 10px rgba(124,58,237,0.25);
}

/* DISABLED */
.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* PAGE SIZE */
.page-size select {
    padding: 5px 8px;
    border-radius: 8px;

    border: 1px solid #e5e7eb;
    background: #fff;

    font-size: 12px;
    color: #374151;

    outline: none;
    transition: all 0.2s ease;
}

.page-size select:hover {
    border-color: #d1d5db;
}

.page-size select:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 2px rgba(124,58,237,0.15);
}

/* OVERLAY */
.edit-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(4px);
    z-index: 998;
    display: none;
}

.edit-overlay.active {
    display: block;
}

/* PANEL */
.edit-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.96);

    width: 600px;
    max-width: 95%;

    background: #ffffff;
    border-radius: 18px;

    padding: 20px;

    border: 1px solid #e5e7eb;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);

    display: none;
    z-index: 999;

    transition: all 0.2s ease;
}

.edit-panel.active {
    display: block;
    transform: translate(-50%, -50%) scale(1);
}

/* HEADER */
.edit-header {
    margin-bottom: 12px;
}

.edit-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

/* BODY */
.edit-body {
    position: relative;
}

/* TEXTAREA */
#editInput {
    width: 100%;
    min-height: 120px;

    border-radius: 12px;
    border: 1px solid #e5e7eb;

    padding: 12px;
    font-size: 14px;

    resize: vertical;
    outline: none;

    transition: all 0.2s ease;
}

/* FOCUS */
#editInput:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
}

/* COUNTER */
.char-counter {
    font-size: 12px;
    color: #9ca3af;

    text-align: right;
    margin-top: 6px;
}

/* ACTIONS */
.edit-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 15px;
}

/* BUTTONS */
.save-btn {
    padding: 8px 14px;
    border-radius: 10px;
    border: none;

    background: linear-gradient(135deg, #7c3aed, #6366f1);
    color: white;

    cursor: pointer;
    transition: all 0.2s ease;
}

.save-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(124,58,237,0.3);
}

.cancel-btn {
    padding: 8px 14px;
    border-radius: 10px;
    border: none;

    background: #f3f4f6;
    color: #374151;

    cursor: pointer;
}

.forum-item.updated {
    background: #f5f3ff;
    transition: background 0.3s ease;
}


/* CONTAINER */

.forum-thread {
    width: 100%;
    height: calc(100vh - 40px);

    display: flex;
    flex-direction: column;

    border-radius: 28px;

    overflow: hidden;

    background: #ffffff;

    box-shadow:
        0 10px 40px rgba(0,0,0,.08);

    transition: .3s;
}

/* TOOLBAR */

.thread-toolbar {

    min-height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 28px;

    border-bottom: 1px solid #ececec;

    background: rgba(255,255,255,.88);

    backdrop-filter: blur(16px);

    z-index: 20;
}

.toolbar-left,
.toolbar-center,
.toolbar-right {
    display: flex;
    align-items: center;
}

.toolbar-center {
    flex-direction: column;
    gap: 4px;
}

.toolbar-right {
    gap: 25px;
}

/* BACK */

.back-btn {

    display: flex;
    align-items: center;
    gap: 10px;

    text-decoration: none;

    padding: 7px 18px;

    border-radius: 16px;

    background: #f3f4f6;

    color: #111827;

    font-weight: 600;

    transition: .2s;
}

.back-btn:hover {
    transform: translateY(-2px);
    background: #e5e7eb;
}

.back-icon {
    font-size: 18px;
}

/* TITLE */

.thread-title {
    font-size: 17px;
    font-weight: 800;
    color: #111827;

    max-width: 360px;

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;

    cursor: default;
}


.thread-subtitle {
    font-size: 13px;
    color: #6b7280;
}

/* STYLE BUTTONS */

.toolbar-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toolbar-label {
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
}

.style-switch {

    display: flex;
    gap: 8px;

    padding: 4px;

    border-radius: 14px;

    background: #f3f4f6;
}

.style-btn {

    border: none;

    background: transparent;

    padding: 10px 16px;

    border-radius: 10px;

    cursor: pointer;

    font-size: 13px;
    font-weight: 700;

    transition: .2s;
}

.style-btn.active {
    background: #111827;
    color: white;
}

/* THEMES */

.theme-options {
    display: flex;
    gap: 12px;
}

.theme-radio input {
    display: none;
}

.theme-radio span {

    width: 26px;
    height: 26px;

    display: block;

    border-radius: 50%;

    cursor: pointer;

    transition: .2s;
}

.theme-radio.white span {
    background: white;
    border: 3px solid #d1d5db;
}

.theme-radio.dark span {
    background: #111827;
}

.theme-radio.purple span {
    background: #7c3aed;
}

.theme-radio input:checked + span {

    transform: scale(1.15);

    box-shadow:
        0 0 0 4px rgba(99,102,241,.22);
}

/* MAIN MESSAGE */

.main-post {

    padding: 24px 30px;

    background: linear-gradient(
        135deg,
        #eef2ff,
        #f8fafc
    );

    border-bottom: 1px solid #ececec;
}

.main-post-content {

    max-width: 900px;

    padding: 18px 24px;

    border-radius: 20px;

    background: white;

    box-shadow:
        0 5px 18px rgba(0,0,0,.05);

    font-size: 15px;
    line-height: 1.7;

    color: #111827;
}

/* REPLIES */

.replies-wrapper {
    flex: 1;
    overflow: hidden;
}

.replies-section {

    height: 100%;

    overflow-y: auto;

    padding: 28px;

    display: flex;
    flex-direction: column;

    gap: 22px;

    scroll-behavior: smooth;
}

/* SCROLL */

.replies-section::-webkit-scrollbar {
    width: 10px;
}

.replies-section::-webkit-scrollbar-thumb {

    background: rgba(99,102,241,.25);

    border-radius: 20px;
}

/* POSTS */

.reply-post {
    display: flex;
    width: 100%;
}

.reply-post.mine {
    justify-content: flex-start;
}

.reply-post.other {
    justify-content: flex-end;
}

/* MESSAGE */

.reply-body {

    max-width: 72%;

    padding: 18px;

    border-radius: 24px;

    position: relative;

    animation: fadeUp .25s ease;

    transition: .2s;
}

.reply-body:hover {
    transform: translateY(-2px);
}

/* MY MESSAGE */

.reply-post.mine .reply-body {

    background: linear-gradient(
        135deg,
        #4f46e5,
        #6366f1
    );

    color: white;

    border-bottom-right-radius: 8px;

    box-shadow:
        0 10px 25px rgba(79,70,229,.28);
}

/* OTHER MESSAGE */

.reply-post.other .reply-body {

    background: white;

    border: 1px solid #ececec;

    color: #111827;

    border-bottom-left-radius: 8px;

    box-shadow:
        0 6px 20px rgba(0,0,0,.05);
}

/* WHATSAPP MODE */

.whatsapp-style .replies-section {

    background-image:
        radial-gradient(
            rgba(0,0,0,.03) 1px,
            transparent 1px
        );

    background-size: 18px 18px;
}

.whatsapp-style .reply-post.mine .reply-body {

    background: #d9fdd3;
    color: #111827;
}

.whatsapp-style .reply-post.other .reply-body {

    background: white;
}

/* HEADER */

.post-header {

    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 12px;
}

.avatar {

    width: 38px;
    height: 38px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 700;

    background: rgba(255,255,255,.2);

    color: inherit;
}

.user {
    font-size: 14px;
    font-weight: 700;
}

.time {
    font-size: 12px;
    opacity: .7;
}

/* CONTENT */

.post-content {

    line-height: 1.7;

    font-size: 15px;

    word-break: break-word;
}

/* ACTIONS */

.message-actions {

    display: flex;
    justify-content: flex-end;

    gap: 10px;

    margin-top: 16px;
}

.action-btn {

    border: none;

    padding: 8px 14px;

    border-radius: 10px;

    text-decoration: none;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition: .2s;
}

.action-btn:hover {
    transform: translateY(-1px);
}

.reply-post.mine .action-btn.edit {
    background: rgba(255,255,255,.16);
    color: white;
}

.reply-post.mine .action-btn.delete {
    background: rgba(255,255,255,.1);
    color: #ffe4e6;
}

.reply-post.other .action-btn.edit {
    background: #e5e7eb;
    color: #111827;
}

.reply-post.other .action-btn.delete {
    background: #fee2e2;
    color: #991b1b;
}

/* INPUT */

.reply-box-forum {

    padding: 22px;

    background: white;

    border-top: 1px solid #ececec;
}

.reply-input-wrapper {

    display: flex;
    align-items: center;

    gap: 16px;
}

.reply-input-wrapper input {

    flex: 1;

    border: none;

    background: #f3f4f6;

    padding: 18px 22px;

    border-radius: 18px;

    font-size: 15px;

    outline: none;
}

.reply-input-wrapper input:focus {

    background: white;

    box-shadow:
        0 0 0 4px rgba(99,102,241,.15);
}

.reply-input-wrapper button {

    border: none;

    padding: 16px 26px;

    border-radius: 16px;

    background: #4f46e5;

    color: white;

    font-weight: 700;

    cursor: pointer;

    transition: .2s;
}

.reply-input-wrapper button:hover {

    background: #4338ca;

    transform: translateY(-1px);
}

/* DARK MODE */

.theme-dark {

    background: #111827;
}

.theme-dark .thread-toolbar,
.theme-dark .reply-box-forum,
.theme-dark .main-post {

    background: #1f2937;

    border-color: #374151;
}

.theme-dark .thread-title,
.theme-dark .post-content,
.theme-dark .user,
.theme-dark .main-post-content {

    color: white;
}

.theme-dark .main-post-content,
.theme-dark .reply-post.other .reply-body {

    background: #374151;

    border-color: #4b5563;
}

.theme-dark .reply-input-wrapper input {

    background: #374151;

    color: white;
}

/* PURPLE MODE */

.theme-purple {

    background: #f5f3ff;
}

.theme-purple .thread-toolbar {

    background: #ede9fe;
}

/* ANIMATION */

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBILE */

@media(max-width: 900px) {

    .thread-toolbar {

        flex-direction: column;
        align-items: stretch;

        gap: 18px;
    }

    .toolbar-right {

        justify-content: space-between;
    }

    .reply-body {
        max-width: 92%;
    }
}





.classic-style .replies-section {

    gap: 14px;
}

/* TÜM MESAJLAR SOLDA */

.classic-style .reply-post {

    justify-content: flex-start !important;
}

/* CLASSIC BUBBLE */

.classic-style .reply-body {

    max-width: 100%;

    width: 100%;

    border-radius: 14px;

    padding: 14px 16px;
}

/* KENDİ MESAJIM */

.classic-style .reply-post.mine .reply-body {

    background: #ffffff;

    color: #111827;

    border: 1px solid #e5e7eb;

    box-shadow: none;
}

/* DİĞER KULLANICI */

.classic-style .reply-post.other {

    padding-left: 20px;
}

/* DİĞER KULLANICI KUTUSU */

.classic-style .reply-post.other .reply-body {

    background: #f9fafb;

    color: #111827;

    border: 1px solid #ececec;

    box-shadow: none;
}

/* HEADER */

.classic-style .post-header {

    margin-bottom: 8px;
}



/* USER */

.classic-style .user {

    font-size: 13px;
}

/* CONTENT */

.classic-style .post-content {

    font-size: 14px;

    line-height: 1.6;
}

/* ACTIONS */

.classic-style .message-actions {

    margin-top: 10px;
}

/* DARK MODE */

.theme-dark.classic-style .reply-post.mine .reply-body,
.theme-dark.classic-style .reply-post.other .reply-body {

    background: #374151;

    border-color: #4b5563;

    color: white;
}

.whatsapp-style .reply-post.mine .reply-body, .whatsapp-style .reply-post.mine .reply-body * 
{ color: #111827 !important; }

.message-row-inline {

    display: grid;

    grid-template-columns:
        80px
        1fr
        auto;

    align-items: start;

    gap: 4px;

    width: 100%;
}

/* USER AREA */

.inline-user-area {

    min-width: 120px;

    padding-top: 2px;
}

/* USER */

.inline-user-area .user {

    font-size: 13px;
    font-weight: 700;

    line-height: 1.2;
}

/* TIME */

.inline-user-area .time {

    font-size: 11px;

    opacity: .6;

    margin-top: 2px;
}

/* CONTENT */

.message-row-inline .post-content {

    margin-top: 0;

    font-size: 14px;

    line-height: 1.55;

    word-break: break-word;
}

/* ACTIONS */

.message-actions-inline {

    display: flex;

    align-items: center;

    gap: 6px;

    padding-top: 2px;
}

.message-actions-inline form {
    margin: 0;
}

/* ICON BUTTON */

.message-icon-btn {

    width: 28px;
    height: 28px;

    border: none;

    border-radius: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    text-decoration: none;

    background: transparent;

    transition: .2s;
}

/* EDIT */

.message-icon-btn.edit {

    color: #6366f1;
}

/* DELETE */

.message-icon-btn.delete {

    color: #ef4444;
}

/* HOVER */

.message-icon-btn:hover {

    background: rgba(0,0,0,.05);
}

/* DARK MODE */

.theme-dark .message-icon-btn:hover {

    background: rgba(255,255,255,.08);
}

/* MOBILE */

@media(max-width: 768px) {

    .message-row-inline {

        grid-template-columns:
            1fr;

        gap: 8px;
    }

    .inline-user-area {

        display: flex;
        align-items: center;
        gap: 8px;
    }

    .message-actions-inline {

        justify-content: flex-end;
    }
}

.edit-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(15, 23, 42, 0.45); 
    /* soft navy overlay */

    backdrop-filter: blur(6px);

    justify-content: center;
    align-items: center;

    z-index: 99999;
}

.edit-modal-content {
    width: 480px;
    background: #ffffff;

    border-radius: 16px;
    padding: 18px 20px;

    box-shadow: 0 20px 60px rgba(0,0,0,0.15);

    animation: modalFade 0.18s ease-out;
}

/* HEADER */
.edit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 12px;
}

.edit-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

#editClose {
    cursor: pointer;
    font-size: 20px;
    color: #6b7280;
    transition: 0.2s;
}

#editClose:hover {
    color: #111827;
}

/* TEXTAREA */
.edit-body textarea {
    width: 100%;
    height: 140px;

    border-radius: 12px;
    border: 1px solid #e5e7eb;

    padding: 12px;
    font-size: 14px;

    outline: none;
    resize: none;

    background: #f9fafb;
    color: #111827;

    transition: 0.2s;
}

.edit-body textarea:focus {
    border-color: #6366f1;
    background: #fff;
}

/* FOOTER */
.edit-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;

    margin-top: 14px;
}

.btn {
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border: none;
}

/* CANCEL */
.btn.cancel {
    background: #f3f4f6;
    color: #374151;
}

.btn.cancel:hover {
    background: #e5e7eb;
}

/* SAVE */
.btn.save {
    background: #4f46e5;
    color: white;
}

.btn.save:hover {
    background: #4338ca;
}

/* ANIMATION */
@keyframes modalFade {
    from {
        transform: translateY(10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.announcement-body {
    flex: 1;
}

/* MAIN TEXT */
.announcement-title {
    font-size: 13px;
    font-weight: 600;
}

/* AUDIENCE INLINE */
.announcement-audience {
    font-size: 11px;
    color: #a3a3a3;
    font-weight: 400;
    margin-left: 4px;
}

/* =========================
   FOOTER ROW (LIGHT BAR)
========================= */
.announcement-footer-row {
    margin-top: 8px;
    padding: 6px 10px;
    border-radius: 8px;

    background: #f1f3f6;
    border: 1px solid #e6e8ee;

    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 11px;
    color: #666;
}

/* LEFT SIDE FOOTER */
.footer-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* SEPARATOR */
.dot-separator {
    margin: 0 4px;
    color: #bbb;
}

/* AUDIENCE SMALL */
.footer-audience {
    color: #888;
}

/* RIGHT SIDE (TIME) */
.footer-right {
    white-space: nowrap;
    color: #666;
}

/* =========================
   DELETE BUTTON
========================= */
.announcement-status {
    flex-shrink: 0;
}

.btn-delete-mini {
    padding: 2px 6px;
    font-size: 10px;
    border-radius: 6px;
    line-height: 1;
}

/* =========================
   INPUT WRAPPER (kept)
========================= */
.announcement-input-wrapper {
    position: relative;
}

.announcement-icon.emergency {
    background: #dc3545;
}

.announcement-icon.technical {
    background: #ffc107;
}

.announcement-icon.education {
    background: #0d6efd;
}

.announcement-icon.general {
    background: #6c757d;
}

.announcement-icon i {
    color: white !important;
}





