* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    padding: 20px;
}

/* Header alanı */
.main-header {
    width: 100%;
    background: #444; /* koyu gri */
    color: #fff;
    padding: 24px 0 20px 0;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 32px;
}

.menu-container {
    background: #f2f2f2; /* açık gri */
    border-radius: 12px;
    padding: 24px 12px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.menu-item {
    background-color: #e0e0e0; /* daha açık gri */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    flex: 1 1 calc(25% - 10px); /* 4 buton yan yana */
    min-width: 200px;
}

.menu-header {
    width: 100%;
    padding: 15px;
    background-color: #bdbdbd;
    color: #222;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    border-radius: 8px 8px 0 0;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.menu-header:hover {
    background-color: #a0a0a0;
}

.menu-header h3 {
    margin: 0;
    font-weight: 600;
}

.menu-content {
    display: none;
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 5px 5px;
}

.menu-content.active {
    display: block;
}

.arrow {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.arrow.active {
    transform: rotate(180deg);
}

/* Yeni eklenen liste stilleri */
.menu-list {
    list-style: none;
}

.menu-list-item {
    padding: 10px;
    margin: 5px 0;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.menu-list-item:hover {
    transform: translateX(5px);
    background-color: #f8f8f8;
}

.menu-list-item a {
    text-decoration: none;
    color: #333;
    display: block;
    font-weight: 500;
}

.menu-list-item a:hover {
    color: #4CAF50;
}

@media (max-width: 600px) {
    .main-header {
        font-size: 1.2rem;
        padding: 16px 0 14px 0;
        margin-bottom: 18px;
    }
    .menu-container {
        padding: 12px 2px;
    }
    .menu-header {
        font-size: 0.9rem;
        padding: 12px;
    }
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.quantity-btn {
    background: #f0f0f0;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 16px;
}

.quantity-btn:hover {
    background: #e0e0e0;
}

#masa-1-quantity, #masa-2-quantity {
    font-size: 16px;
    margin: 0 10px;
}

.masa-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    max-width: 800px; /* Genişliği sınırla */
    margin: 0 auto;
}

.masa-item {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.kategori-section {
    margin-bottom: 20px;
    width: 100%;
}

.kategori-section h3 {
    color: #333;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid #eee;
}

.urun-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin-bottom: 5px;
    background: #f9f9f9;
    border-radius: 4px;
    width: 100%;
}

.urun-adi {
    flex: 1;
    font-weight: 500;
}

.urun-fiyat {
    margin: 0 15px;
    color: #666;
    white-space: nowrap;
}

.siparis-btn {
    width: 100%;
    padding: 10px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 15px;
    font-size: 16px;
}

.siparis-btn:hover {
    background: #45a049;
}

/* Admin Panel Stilleri */
.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.admin-section {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.admin-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.admin-form input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.admin-form button {
    padding: 8px 16px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.masa-listesi, .menu-listesi {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.masa-item, .menu-item {
    background: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.delete-btn {
    padding: 5px 10px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.delete-btn:hover {
    background: #cc0000;
}

.siparis-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.masa-siparis {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    padding: 20px;
}

.masa-siparis h2 {
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.siparis-listesi {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.siparis-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 4px;
}

.siparis-bilgi {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.urun-adi {
    flex: 1;
    font-weight: 500;
}

.urun-adet {
    color: #666;
    min-width: 80px;
}

.urun-fiyat {
    color: #666;
    min-width: 100px;
    text-align: right;
}

.ara-toplam {
    color: #333;
    font-weight: 500;
    min-width: 100px;
    text-align: right;
}

.siparis-durum select {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}

.siparis-durum select:hover {
    border-color: #999;
}

.siparis-toplam {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #eee;
    text-align: right;
    font-size: 1.1em;
}

.odeme-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 15px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.odeme-btn:hover {
    background-color: #45a049;
}

.odeme-btn:active {
    background-color: #3d8b40;
}

.admin-header {
    width: 100%;
    background: #2c3e50;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.header-left, .header-right {
    flex: 1;
}

.header-center {
    flex: 2;
    text-align: center;
}

.header-center h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 500;
}

.rapor-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.rapor-btn:hover {
    background: #2980b9;
}

.cikis-btn {
    background: #e74c3c;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    transition: background-color 0.3s;
}

.cikis-btn:hover {
    background: #c0392b;
}

.rapor-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.rapor-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    padding: 20px;
}

.rapor-section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.ozet-kartlari {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.ozet-kart {
    flex: 1;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.ozet-kart h3 {
    color: #666;
    margin-bottom: 10px;
    font-size: 16px;
}

.ozet-kart .tutar {
    color: #2c3e50;
    font-size: 24px;
    font-weight: bold;
}

.ozet-kart .adet {
    color: #2c3e50;
    font-size: 24px;
    font-weight: bold;
}

.tablo-container {
    overflow-x: auto;
}

.rapor-tablo {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.rapor-tablo th,
.rapor-tablo td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.rapor-tablo th {
    background: #f8f9fa;
    color: #2c3e50;
    font-weight: 600;
}

.rapor-tablo tr:hover {
    background: #f8f9fa;
}

.geri-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.geri-btn:hover {
    background: #2980b9;
}

.tarih {
    color: #fff;
    font-size: 14px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}
