/* PubblicazionePost - Custom Styles */

/* Navbar */
.navbar-brand {
    font-size: 1.3rem;
    letter-spacing: 0.5px;
}

/* Cards */
.card {
    border-radius: 0.75rem;
    transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

/* Dashboard stat cards */
.card .fs-1 {
    line-height: 1;
}

/* Tables */
.table th {
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.4em 0.65em;
}

/* Post preview */
#previewContent {
    white-space: pre-wrap;
    word-break: break-word;
    min-height: 60px;
}

/* Form improvements */
.form-control:focus,
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* Group list scrollable */
.border.rounded.p-3 {
    scrollbar-width: thin;
    scrollbar-color: #dee2e6 transparent;
}

.border.rounded.p-3::-webkit-scrollbar {
    width: 6px;
}

.border.rounded.p-3::-webkit-scrollbar-thumb {
    background-color: #dee2e6;
    border-radius: 3px;
}

/* Footer */
footer {
    font-size: 0.875rem;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }

    .btn-lg {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}

/* Loading spinner */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

