/* Mevcut tüm CSS'ler + Supabase Admin özellikleri */

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

/* Font yükleme optimizasyonu */
.font-loading {
    visibility: hidden;
}

.font-loaded {
    visibility: visible;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 160px;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #ffeef8 0%, #f0f8ff 100%);
    color: #5a5a5a;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    padding-top: 20px;
    font-display: fallback;
    overflow-x: hidden;
    position: relative;
}

/* Loading Screen */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-content {
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ff6b6b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Admin Panel Styles */
.admin-panel {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 3000;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    padding: 1rem;
    width: 90%;
    max-width: 350px;
    min-width: 280px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 107, 0.2);
    box-sizing: border-box !important;
    margin: 0 !important;
    right: auto !important;
    bottom: auto !important;
}

.admin-content h3 {
    margin: 0 0 15px 0;
    color: #ff6b6b;
    font-size: 1.3rem;
    text-align: center;
}

.admin-content p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 0.9rem;
    text-align: center;
}

.admin-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.admin-buttons button {
    background: linear-gradient(135deg, #ff6b6b, #ff8a80);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.admin-buttons button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.admin-buttons button:active {
    transform: translateY(0);
}

/* Admin Panel Form Styles */
.admin-panel .form-group {
    margin-bottom: 15px;
}

.admin-panel .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
    font-size: 0.85rem;
}

.admin-panel .form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.admin-panel .form-group input:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.admin-panel .login-btn {
    width: 100%;
    background: linear-gradient(135deg, #ff6b6b, #ff8a80);
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.admin-panel .login-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.admin-panel .login-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.admin-login-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b6b, #ff8a80);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
    z-index: 2000;
}

.admin-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* Admin Mode Styles */
body.admin-mode .menu-item {
    position: relative;
    transition: all 0.3s ease;
}

body.admin-mode .menu-item:hover {
    background: linear-gradient(135deg, #ffe0e0, #e0f0ff);
    border-left-color: #ff3030;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 48, 48, 0.2);
}

body.admin-mode .menu-item::before {
    content: "🔧";
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff6b6b;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

body.admin-mode .menu-item:hover::before {
    opacity: 1;
}

body.admin-mode .menu-item::after {
    content: "Gizlemek için tıklayın";
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 11;
}

body.admin-mode .menu-item:hover::after {
    opacity: 1;
}

/* Header ve diğer mevcut stiller */
.header {
    background: linear-gradient(135deg, #ffb3ba 0%, #bae1ff 100%);
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    width: 100px;
    height: auto;
    border-radius: 12px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.menu-container {
    padding-top: 140px; /* Default value, will be adjusted by JavaScript */
}

.container-nav {
    margin: 0 auto;
    padding-left: 2px;
    padding-right: 2px;
}

.nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0.2rem;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 0.12rem;
    font-size: 14px;
    flex-wrap: wrap;
}

.nav-link {
    color: #666;
    text-decoration: none;
    padding: 0.4rem 0.6rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.nav-link:focus {
    outline: none;
    box-shadow: none;
}

.nav-link:active {
    background: none;
    outline: none;
}

.nav-link:hover {
    background: linear-gradient(135deg, #ffb3ba, #bae1ff);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.nav-link.active {
    background: linear-gradient(135deg, #ffb3ba, #bae1ff);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.section {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ff6b6b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.menu-item {
    padding: 0.75rem;
    background: linear-gradient(135deg, #fff5f5, #f0f8ff);
    border-radius: 15px;
    border-left: 4px solid #ffb3ba;
    transition: all 0.3s ease;
    height: auto;
    min-height: unset;
}

.menu-item-container {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.menu-item-image-column {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
}

.menu-item-image-column.image-large {
    width: 120px;
    height: 120px;
}

.menu-item-image.image-large {
    width: 120px;
    height: 120px;
}

.menu-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-left-color: #ff6b6b;
}

.menu-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}

.menu-item-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.menu-item-name {
    font-weight: 500;
    color: #444;
    font-size: 1rem;
    flex: 1;
}

.menu-item-description {
    font-size: 0.85rem;
    color: #888;
    font-style: normal;
    line-height: 1.3;
    margin-top: 0.1rem;
    opacity: 0.9;
}

.menu-item-note {
    font-size: 0.8rem;
    color: #999;
    font-style: italic;
    line-height: 1.3;
    margin-top: 0.15rem;
}

.menu-sub-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.3rem;
    padding: 0.2rem 0;
}

.menu-sub-item-name {
    font-size: 0.85rem;
    color: #888;
    font-weight: 400;
    opacity: 0.9;
}

.menu-sub-item-pricing {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.1rem;
}

.menu-sub-item-price {
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
    opacity: 0.9;
}

.menu-sub-item-old-price {
    font-size: 0.75rem;
    color: #aaa;
    font-weight: 400;
    text-decoration: line-through;
    opacity: 0.7;
}

.menu-item.ghost {
    background: transparent;
    border: none;
    border-left: none;
    box-shadow: none;
    padding: 0.1rem 0;
}

.menu-item.ghost:hover {
    transform: none;
    box-shadow: none;
    background: transparent;
}

.menu-item.ghost .menu-item-main {
    padding-left: 10px;
}

.menu-item.ghost .menu-item-name {
    color: #373737;
    font-weight: 300;
    opacity: 0.9;
}

.menu-item.ghost .menu-item-price {
    color: #373737;
    font-weight: 500;
    opacity: 0.9;
}

.menu-item.ghost .menu-item-old-price {
    color: #666;
    opacity: 0.7;
}

.menu-item.wifi-info {
    background: linear-gradient(135deg, #e8f5e8, #f0f8ff);
    border-left: 4px solid #4CAF50;
    padding: 1rem;
}

.menu-item.wifi-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.2);
    border-left-color: #45a049;
}

.menu-item.wifi-info .menu-item-name {
    color: #2e7d32;
    font-weight: 600;
    font-size: 1.1rem;
}

.menu-item.wifi-info .menu-item-description {
    color: #1b5e20;
    font-weight: 500;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.7);
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    display: inline-block;
    margin-top: 0.3rem;
}

.menu-item-pricing {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
    flex-shrink: 0;
}

.menu-item-price {
    font-weight: 600;
    color: #ff6b6b;
    font-size: 1.1rem;
}

.menu-item-old-price {
    font-weight: 400;
    color: #999;
    font-size: 0.9rem;
    text-decoration: line-through;
    opacity: 0.8;
}

.footer {
    background: linear-gradient(135deg, #ff9a9e, #a8e6cf);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 14px;
    color: #efefef;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Google Review Section */
.review-section {
    background: linear-gradient(135deg, #ff9a9da5, #a8e6cf95);
    padding: 1.5rem 0;
    margin-bottom: 2rem;
    border-radius: 25px;
}

.review-content {
    text-align: center;
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: white;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 1rem;
}

.star-rating {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
    margin-top: 0.5rem;
}

.star {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.star:hover,
.star.hover {
    color: #f4ab2c;
    transform: scale(1.1);
}

.star:hover::before,
.star.hover::before,
.star.selected::before {
    content: "★";
    position: absolute;
    left: 0;
    top: 0;
}

.star.selected {
    color: #f4ab2c;
    position: relative;
}

.star {
    position: relative;
}

.feedback-form {
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.feedback-form textarea {
    width: 100%;
    min-height: 80px;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    margin-bottom: 1rem;
    box-sizing: border-box;
    outline: none;
}

.feedback-form textarea:focus {
    border: 1px solid rgba(255, 255, 255, 0.5);
    outline: none;
}

.feedback-form textarea::placeholder {
    color: #999;
}

.feedback-buttons {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
}

.send-feedback-btn,
.skip-feedback-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 20px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.send-feedback-btn {
    background: #f4ab2c;
    color: white;
}

.send-feedback-btn:hover {
    background: #e09a1a;
    transform: translateY(-1px);
}

.skip-feedback-btn {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.skip-feedback-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.thanks-message {
    margin-top: 1rem;
    color: white;
    font-weight: 500;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.google-logo-svg {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

/* Modal/Lightbox Styles */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.image-modal.show {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    border-radius: 15px;
    overflow: hidden;
}

.modal-image {
    width: 60vw;
    height: auto;
    object-fit: contain;
    max-height: 70vh;
    display: block;
    margin: 0 auto;
}

.modal-info {
    text-align: center;
    color: white;
    margin-top: 20px;
    padding: 0 20px;
}

.modal-item-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: white;
}

.modal-item-description {
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.modal-close {
    padding-bottom: 1px;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1;
    z-index: 2001;
}

.modal-close:hover {
    background: white;
    transform: translateX(-50%) scale(1.1);
}

.menu-item-image {
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Admin Login Modal */
.admin-login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 6000;
}

.admin-login-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.admin-login-header {
    background: linear-gradient(135deg, #ff6b6b, #ff8a80);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-login-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.admin-login-body {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.cancel-btn {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #ddd;
    background: white;
    color: #666;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cancel-btn:hover {
    border-color: #ccc;
    background: #f5f5f5;
}

.login-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: linear-gradient(135deg, #ff6b6b, #ff8a80);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.login-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.login-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Success/Error Messages */
.message {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 4000;
    animation: slideIn 0.3s ease;
}

.message.success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.message.error {
    background: linear-gradient(135deg, #f44336, #d32f2f);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Price Editor Modal */
.price-editor-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5000;
}

.price-editor-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.price-editor-header {
    background: linear-gradient(135deg, #ff6b6b, #ff8a80);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-editor-header h3 {
    margin: 0;
    font-size: 1.4rem;
}

.close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.price-editor-body {
    height: 60vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.editor-tabs {
    display: flex;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
}

.tab-btn {
    flex: 1;
    padding: 15px 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: white;
    color: #ff6b6b;
    border-bottom: 3px solid #ff6b6b;
}

.tab-btn:hover {
    background: rgba(255, 107, 107, 0.1);
}

.tab-content {
    display: none;
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

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

.editor-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 10px;
    background: #f9f9f9;
    transition: all 0.3s ease;
}

.editor-item-row:hover {
    background: #f0f0f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sub-item-row {
    margin-left: 20px;
    margin-top: 5px;
    background: #f5f5f5;
    border-left: 3px solid #ff6b6b;
}

.sub-item-row .item-name {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.item-info {
    flex: 1;
}

.item-name {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
    margin-bottom: 5px;
}

.item-category {
    font-size: 0.85rem;
    color: #666;
    opacity: 0.8;
}

.item-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.price-input {
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    width: 120px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.price-input:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.update-price-btn {
    background: linear-gradient(135deg, #ff6b6b, #ff8a80);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    min-width: 85px;
}

.update-price-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.update-price-btn:active {
    transform: translateY(0);
}

.update-price-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.visibility-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.visibility-toggle input[type="checkbox"] {
    display: none;
}

.toggle-slider {
    position: relative;
    width: 50px;
    height: 25px;
    background: #ccc;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 21px;
    height: 21px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.visibility-toggle input[type="checkbox"]:checked + .toggle-slider {
    background: #4CAF50;
}

.visibility-toggle input[type="checkbox"]:checked + .toggle-slider::before {
    transform: translateX(25px);
}

.toggle-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #555;
    min-width: 60px;
}

.error {
    color: #f44336;
    text-align: center;
    padding: 20px;
    font-style: italic;
}

@media (max-width: 768px) {
    .logo-image {
        width: 80px;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .menu-item {
        padding: 0.6rem;
    }
    
    .menu-item-container {
        gap: 0.75rem;
    }
    
    .menu-item-image-column.image-large {
        width: 100px;
        height: 100px;
    }
    
    .menu-item-image.image-large {
        width: 100px;
        height: 100px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .admin-panel {
        right: 10px;
        left: 10px;
        min-width: auto;
    }
    
    .admin-login-btn {
        bottom: 10px;
        right: 10px;
    }
    
    .price-editor-content {
        width: 95%;
        max-height: 85vh;
    }
    
    .editor-item-row {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .item-controls {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .price-input {
        width: 100px;
    }
    
    
    .admin-login-content {
        width: 95%;
        margin: 20px;
    }
    
    .admin-login-body {
        padding: 20px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .cancel-btn, .login-btn {
        width: 100%;
    }
    
    /* Mobilde kesin ortalama garanti */
    .admin-panel {
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        position: fixed !important;
        margin: 0 !important;
        right: auto !important;
        bottom: auto !important;
    }
}

/* Çok küçük ekranlar için ekstra garanti */
@media (max-width: 480px) {
    .admin-panel {
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 85% !important;
        max-width: 300px !important;
        min-width: 250px !important;
        position: fixed !important;
        margin: 0 !important;
        right: auto !important;
        bottom: auto !important;
    }
}

/* Feedback Admin Styles */
.feedback-stats {
    background: rgba(244, 171, 44, 0.1);
    border: 1px solid rgba(244, 171, 44, 0.3);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.feedback-stats h4 {
    margin: 0 0 1rem 0;
    color: #f4ab2c;
    font-size: 16px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.stat-item {
    background: white;
    padding: 0.8rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #eee;
}

.stat-item .rating {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.3rem;
}

.stat-item .count {
    display: block;
    font-size: 1.2em;
    font-weight: bold;
    color: #f4ab2c;
}

.total {
    text-align: center;
    font-weight: 600;
    color: #666;
    font-size: 14px;
}

.feedback-item {
    background: white;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    transition: all 0.2s ease;
}

.feedback-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-color: #f4ab2c;
}

.feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.feedback-rating {
    font-weight: 600;
    color: #f4ab2c;
}

.feedback-date {
    font-size: 12px;
    color: #666;
}

.feedback-text {
    line-height: 1.5;
    color: #333;
    margin-bottom: 0.8rem;
    padding: 0.5rem;
    background: #f9f9f9;
    border-radius: 6px;
}

.feedback-text em {
    color: #999;
}

.feedback-meta {
    text-align: right;
}

.feedback-meta small {
    color: #999;
    font-size: 11px;
}

.no-data {
    text-align: center;
    color: #666;
    padding: 2rem;
    font-style: italic;
}

.error {
    color: #e74c3c;
    text-align: center;
    padding: 1rem;
    background: #ffeaea;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
}

 