@import url("./font_style.css");

body {
    font-family: "gmg", sans-serif;
    font-weight: 400;
}

.carousel-container {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .carousel-slide {
        min-width: 50%;
    }
}

@media (min-width: 1024px) {
    .carousel-slide {
        min-width: 25%;
    }
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.sidebar-active {
    transform: translateX(0);
}

.content-shift {
    margin-left: 16rem;
}

.modal {
    display: none;
}

.modal.active {
    display: flex;
}

.image-preview {
    position: relative;
}

.image-preview .remove-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
}

.drag-drop-area {
    border: 2px dashed #d1d5db;
    transition: all 0.3s ease;
}

.drag-drop-area.dragover {
    border-color: #3b82f6;
    background-color: #eff6ff;
}

.table-row:hover {
    background-color: #f9fafb;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-published {
    background-color: #dcfce7;
    color: #166534;
}

.status-draft {
    background-color: #fef3c7;
    color: #92400e;
}

.status-upcoming {
    background-color: #dbeafe;
    color: #1e40af;
}

.status-completed {
    background-color: #f3f4f6;
    color: #374151;
}