
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Poppins:wght@300;400;600&display=swap');
body {
    background-color: #f8f9fa;
    font-family: 'Poppins', sans-serif;
    color: #1a1a1a;
}

.display-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.small-subtitle {
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: #a0a0a0;
}
.btn-coral {
    background-color: #ff7e7e;
    color: white;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    transition: background-color 0.3s, transform 0.2s;
    padding: 10px 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.btn-coral:hover {
    background-color: #e66b6b; 
    color: white;
    transform: translateY(-1px);
}
.btn-outline-filter {
    background-color: white;
    border: 1px solid #e9ecef;
    color: #777;
    border-radius: 10px;
    font-size: 0.9rem;
    padding: 8px 16px;
}

.btn-outline-filter:hover, .btn-outline-filter.show {
    background-color: white;
    border-color: #ff7e7e;
    color: #ff7e7e;
}
.pill-input {
    border-radius: 10px;
    border: 1px solid #e9ecef;
    padding: 10px 15px;
}

.pill-input:focus {
    box-shadow: none;
    border-color: #ff7e7e;
}
.plat-card {
    transition: transform 0.2s;
}
.rounded-4 {
    border-radius: 20px !important;
}

.status-dot {
    height: 8px;
    width: 8px;
    border-radius: 50%;
    display: inline-block;
}

.bg-success { background-color: #4cd964 !important; }
.bg-danger { background-color: #ff3b30 !important; }
.quantity-controls button {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: bold;
    border: 1px solid #e9ecef;
    background: white;
    transition: all 0.2s;
}

.quantity-controls button:hover {
    background-color: #ff7e7e;
    color: white;
    border-color: #ff7e7e;
}
.bg-primary-subtle {
    background-color: #e7f1ff !important;
    color: #0d6efd !important;
}
.custom-switch {
    cursor: pointer;
    width: 3em !important;
    height: 1.5em !important;
}

.custom-switch:checked {
    background-color: #4cd964 !important;
    border-color: #4cd964 !important;
}
.btn-action-text {
    border: none;
    background: none;
    color: #666;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
    text-decoration: none;
}

.btn-action-text:hover {
    color: #ff7e7e;
    text-decoration: underline;
}

.btn-action-icon {
    border: none;
    background: none;
    font-size: 1.1rem;
    padding: 5px;
}
.dropdown-menu {
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: 1px solid #f1f1f1;
}

.dropdown-item {
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background-color: #fff5f5;
    color: #ff7e7e;
}
.admin-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    max-width: 700px;
    margin: 0 auto;
}

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border-radius: 12px;
    border: 1px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.2s;
}

.form-control:focus {
    border-color: #ff7e7e;
    box-shadow: 0 0 0 4px rgba(255, 126, 126, 0.1);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.category-item input {
    cursor: pointer;
}
.nav-link {
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 15px;
}
.nav-link.active {
  background: rgb(160, 24, 24);
  color: black;
}
.dropdown:hover .finances {
  display: block;
}
.sidebar {
  background: rgb(160, 24, 24);
  min-height: 100vh;
  padding-top: 20px;
}

.sidebar .nav-link {
  color: black;
}

.sidebar {
  color: rgb(68, 66, 66);
}
.nav-link:hover {
  color: palevioletred;
}
h3 {
  color: white;

}
.text-gold {
  color: rgb(66, 65, 65);
}
.image {
  width: 40px;
  color: black;
}
.imagees {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
button {
  background-color: #f57b7b;
  border-color: #f57b7b;
  color: rgb(0, 0, 0);
}
button:hover {
  background-color: #f57b7b;
  border-color: #f57b7b;
  cursor: pointer;
}
main {
  background-color: white;
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  padding: 20px;
}
.stat-card {
  border-radius: 15px;
  background: rgb(160, 24, 24);
  border: none;
}
.stat-card .white {
  background: white;
  border-radius: 15px;
  border: none;
}
.card {
  border-radius: 15px;
  border: none;
  color: black;
}
.card-main {
  background: white;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
}
h5 {
  text-align: center;
}
h1 {
  color: black;
}
@media (max-width: 768px) {
    .sidebar, main {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
    }

    .sidebar {
        min-height: auto !important;
        padding: 10px !important;
    }

    .sidebar .nav {
        flex-direction: row !important;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
        display: flex !important;
    }

    .sidebar .nav-item {
        margin-right: 10px;
    }

    header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 15px;
        display: flex !important;
    }

    .btn-coral {
        width: 100%;
    }

    .row.g-3 {
        flex-direction: column !important;
        display: flex !important;
    }

    .col-md-4, .col-md-5, .col-md-3 {
        width: 100% !important;
        border-left: none !important;
        text-align: left !important;
    }

    .d-flex.gap-2 {
        width: 100%;
    }

    .dropdown, .dropdown button {
        flex: 1;
        width: 100%;
    }

    #container-plats {
        display: flex !important;
        flex-direction: column !important;
    }

    .plat-card {
        width: 100% !important;
        margin-bottom: 15px;
    }
}