@import url("./font_style.css");

body {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
}

.carousel-container {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.bg-pizza-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23dc2626' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.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;
}

.hero-gradient {
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 50%, #1A1A1A 100%);
}

.text-gradient {
    background: linear-gradient(135deg, #C41E3A, #E8364F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
}

.pizza-image {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover .pizza-image {
    transform: scale(1.1) rotate(5deg);
}

.scrollbar-thin::-webkit-scrollbar {
    width: 4px;
}

.scrollbar-thin::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.scrollbar-thin::-webkit-scrollbar-thumb {
    background: #C41E3A;
    border-radius: 4px;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #C41E3A;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #C41E3A 0%, #9B1B30 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #E8364F 0%, #C41E3A 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(196, 30, 58, 0.5);
}

.ingredient-chip {
    transition: all 0.2s ease;
}

.ingredient-chip:hover {
    transform: scale(1.05);
}

.ingredient-chip.selected {
    background: #C41E3A;
    color: white;
    border-color: #C41E3A;
}

.ingredient-chip.removed {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fca5a5;
    text-decoration: line-through;
}