body, html {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
    background: #f6f8fa;
    color: #222;
}
/* İşletme kutusu */
.business-box {
    background-color: #1976d2;
    color: white;
    text-align: center;
    padding: 20px 16px;
    font-size: 24px;
    font-weight: bold;
    border-radius: 18px;
    max-width: 700px;
    width: 90%;
    margin: 30px auto 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Mobil uyum */
@media (max-width: 480px) {
      .business-box {
        font-size: 18px;
        padding: 16px 12px;
        width: 95vw;
        max-width: 95vw;
        border-radius: 12px;
        margin: 20px auto 16px;
    }
}



.btna {
    padding: 16px 26px;
    border-radius: 13px;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
    background: linear-gradient(90deg,#2575fc 0%,#6a11cb 100%);
    color: white;
    font-weight: bold;
    box-shadow: 0 3px 15px rgba(0,0,0,0.09);
    transition: transform 0.2s, box-shadow 0.2s;
    outline: none;
}
 .admin-btn {
    padding: 16px 26px;
    border-radius: 13px;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
    background: linear-gradient(90deg,#2575fc 0%,#6a11cb 100%);
    color: white;
    font-weight: bold;
    box-shadow: 0 3px 15px rgba(0,0,0,0.09);
    transition: transform 0.2s, box-shadow 0.2s;
    outline: none;
}

.menu-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 0 40px 0;
    background: #fff;
    min-height: 100vh;
}
.menu-header {
    padding: 24px 12px 12px 12px;
    background: linear-gradient(90deg,#2575fc 0%,#6a11cb 100%);
    color: #fff;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 18px rgba(37,117,252,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.menu-header h2 {
    font-size: 1.5em;
    margin: 0;
}
.menu-header .admin-btn {
    background: #fff;
    color: #2575fc;
    font-weight: bold;
    box-shadow: none;
    border-radius: 10px;
    padding: 9px 18px;
    font-size: 1em;
    transition: background 0.15s, color 0.15s;
}
.menu-header .admin-btn:hover {
    background: #eaf0fd;
    color: #6a11cb;
}
.category-bar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
    display: flex;
    gap: 13px;
    padding: 10px 6px 6px 6px;
    border-bottom: 2px solid #eaf0fd;
    box-shadow: 0 2px 8px rgba(37,117,252,0.04);
    overflow-x: auto;
}
.category-link {
    font-weight: 500;
    padding: 7px 18px;
    border-radius: 24px;
    background: #eaf0fd;
    color: #2575fc;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.18s, color 0.18s;
    white-space: nowrap;
    border: none;
    flex: none;
    font-size: 1.08em;
}
.category-link.active, .category-link:hover {
    background: linear-gradient(90deg,#2575fc 0%,#6a11cb 100%);
    color: #fff;
}
.menu-category-section {
    padding-top: 28px;
}
.menu-category-section h3 {
    margin-bottom: 13px;
    margin-left: 10px;
    color: #2575fc;
    font-size: 1.18em;
}
.menu-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0 10px 20px 10px;
    justify-content: flex-start;
}
.menu-item {
    background: linear-gradient(120deg,#fff 70%,#eaf0fd 100%);
    border-radius: 13px;
    box-shadow: 0 1px 8px rgba(37,117,252,0.10);
    padding: 16px 14px;
    text-align: center;
    transition: transform 0.17s;
    position: relative;
    flex: 0 1 220px;
    max-width: 290px;
    min-width: 170px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.menu-item:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 5px 18px rgba(37,117,252,0.17);
}
.menu-item img {
    max-width: 85px;
    max-height: 85px;
    border-radius: 8px;
    margin-bottom: 8px;
}
.menu-item-title {
    font-size: 1.14em;
    font-weight: 600;
    margin-bottom: 8px;
    color: #222;
}
.menu-item-price {
    font-size: 1em;
    color: #2575fc;
    font-weight: bold;
    margin-bottom: 6px;
}
.menu-item-desc {
    font-size: 0.99em;
    color: #444;
    margin-bottom: 3px;
}
@media (max-width: 600px) {
    .menu-container {
        border-radius: 0;
        padding: 0 0 20px 0;
        min-height: 100vh;
    }
    .menu-header {
        padding: 18px 7px 8px 7px;
        border-radius: 0 0 16px 16px;
        font-size: 0.98em;
    }
    .menu-header h2 {
        font-size: 1.1em;
    }
    .category-bar {
        padding: 7px 3px 4px 3px;
        font-size: 0.98em;
        gap: 8px;
    }
    .category-link {
        padding: 6px 12px;
        border-radius: 16px;
        font-size: 0.98em;
    }
    .menu-category-section {
        padding-top: 14px;
    }
    .menu-category-section h3 {
        margin-bottom: 10px;
        margin-left: 5px;
        font-size: 1em;
    }
   .menu-list {
        display:grid;
        grid-template-columns: repeat(auto-fit,minmax(170px,1fr));
        gap:15px; margin:0 10px 20px 10px; justify-content:flex-start;
    }
    .menu-item {
        background:linear-gradient(120deg,#fff 70%,#eaf0fd 100%);
        border-radius:13px; box-shadow:0 1px 8px rgba(37,117,252,0.10);
        padding:16px 14px; text-align:center; transition:transform 0.17s, box-shadow 0.2s;
        position:relative; cursor:pointer; display:flex; flex-direction:column; align-items:center;
		 padding-right: 0;
    }
    .menu-item img {
        max-width: 62px;
        max-height: 62px;
        margin-bottom: 6px;
    }
    .menu-item-title {
        font-size: 1em;
        margin-bottom: 7px;
    }
    .menu-item-price {
        font-size: 0.98em;
        margin-bottom: 3px;
    }
    .menu-item-desc {
        font-size: 0.96em;
    }
}


/* Genel stiliniz zaten sabit olduğu için, sadece mobilde uyum sağlamak üzere ekleriz */
.admin-container {
    max-width: 900px;
    margin: 30px auto;
    padding: 28px 18px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(37,117,252,0.10);
    animation: fadeIn 0.8s;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.admin-header h2 {
    font-size: 1.6em;
    margin: 0;
}
.admin-list {
    margin-top: 16px;
}
.admin-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f8fd;
    padding: 16px 10px;
    margin-bottom: 12px;
    border-radius: 11px;
    box-shadow: 0 1px 8px rgba(37,117,252,0.04);
}
.admin-actions {
    display: flex;
    gap: 7px;
}

.admin-item img {
    max-width: 65px;
    max-height: 65px;
    border-radius: 8px;
    margin-bottom: 7px;
    vertical-align: middle;
    margin-right: 8px;
}


.select-bg {
    background: linear-gradient(135deg, #7b2ff7, #4facfe);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

input[type="text"], input[type="number"], input[type="password"], textarea, select {
    width: 96%;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #e0e3f6;
    border-radius: 7px;
    font-size: 1em;
    font-family: inherit;
    outline: none;
}
.admin-panel-tabs {
    display: flex;
    gap: 10px;
    margin: 30px 0 20px 0;
    flex-wrap: wrap;
}

.admin-panel-tabs a {
    padding: 10px 18px;
    border-radius: 10px;
    background: #eaf0fd;
    color: #2575fc;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.2s,color 0.2s;
}

input[type="file"] {
    margin-bottom: 10px;
}

label {
    margin-right: 15px;
    font-size: 0.97em;
    color: #444;
}

.select-container {
    background: rgba(255,255,255,0.97);
    padding: 48px 36px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.14);
    width: 90%;
    max-width: 700px;
    text-align: center;
    animation: fadeIn 0.8s;
    margin: 0 auto 60px;
    box-sizing: border-box;
    position: relative;
}

.store-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.btn {
    padding: 12px 24px;
    font-size: 30px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    min-width: 140px;
    background-color: #1976d2;
    color: white;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.btn:hover {
    background-color: #145ea8;
}
.business-name {
    background-color: #008cdd;
    color: white;
    font-weight: bold;
    padding: 12px 24px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


/* Mobilde düzenlemeler */
@media (max-width: 600px) {
    .business-box {
        font-size: 18px;
        padding: 16px 12px;
        width: 95vw;
        max-width: 95vw;
        border-radius: 12px;
        margin: 20px auto 16px;
    }

    .select-container {
        padding: 96px 94px;
        width: 100%;
        max-width: 98vw;
        border-radius: 16px;
        margin: 0 auto 40px;
    }

    .store-buttons {
        flex-direction: column;
        gap: 16px;
        margin-top: 80px;
        align-items: center;
    }

    .store-buttons button {
        width: 100%;
        max-width: 320px;
    }

    .admin-btn {
        position: absolute;
        top: 12px;
        right: 12px;
        padding: 6px 12px;
        font-size: 12px;
        min-width: auto;
        width: auto;
        border-radius: 10px;
        margin-top: 0;
        cursor: pointer;
        z-index: 20;
    }
}

@media (max-width: 600px) {
    /* Container genişlik ve padding düzenlemesi */
    .admin-container {
        max-width: 95%;
        margin: 20px auto;
        padding: 20px 10px;
    }

    /* Header hizalama ve font boyutu */
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .admin-header h2 {
        font-size: 1.4em;
        margin-bottom: 10px;
    }

    /* Liste ve item düzenleri */
    .admin-list {
        margin-top: 12px;
    }
    .admin-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 10px;
        margin-bottom: 10px;
    }

    /* İkon ve görsel boyutları */
    .admin-item img {
        max-width: 50px;
        max-height: 50px;
        margin-bottom: 8px;
        margin-right: 0;
        display: inline-block;
    }

    /* Giriş alanları */
    input[type="text"],
    input[type="number"],
    input[type="password"],
    textarea,
    select {
        width: 100%;
        padding: 8px;
        font-size: 0.9em;
    }

    /* Sekmeler ve butonlar */
    .admin-panel-tabs {
        flex-direction: column;
        gap: 8px;
        margin: 20px 0 15px 0;
    }
    .admin-panel-tabs a {
        width: 100%;
        text-align: center;
        padding: 10px 0;
        font-size: 1em;
    }

    /* Dosya input */
    input[type="file"] {
        margin-bottom: 10px;
        width: 100%;
    }

    /* Butonlar ve buton benzeri elementler */
  
    .btn,  {
        width: 100%;
        padding: 14px;
        font-size: 1em;
    }
}
.custom-footer {
    text-align: center;
    padding: 20px 10px;
    font-size: 0.95em;
    color: #fff;
    background: none;
    font-weight: 400;
    margin-top: 40px;
    animation: fadeIn 1s ease-in-out;
    position: fixed;
    bottom: 10px;
    left: 0;
    right: 0;
}
.custom-footer2 {
    text-align: center;
    padding: 20px 10px;
    font-size: 0.95em;
    color: black;
    background: none;
    font-weight: 400;
    margin-top: 10px;
    animation: fadeIn 1s ease-in-out;
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
}
