﻿html {
    background-color: #e2e2e2;
    margin: 0;
    padding: 0;
}

body {
    background-color: #fff;
    border-top: none;
    color: #333;
    font-size: .85em;
    font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
}

.admin-dashboard {
    margin-top: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border-radius: 12px;
}

a {
    color: #333;
    outline: none;
    padding-left: 3px;
    padding-right: 3px;
    text-decoration: underline;
}

a:link,
a:visited,
a:active,
a:hover {
    color: #333;
}

a:hover {
    background-color: #c7d1d6;
}

header,
footer,
hgroup,
nav,
section {
    display: block;
}

mark {
    background-color: #a6dbed;
    padding-left: 5px;
    padding-right: 5px;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.clear-fix:after {
    content: ".";
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #000;
    margin-bottom: 0;
    padding-bottom: 0;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.75em;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5,
h6 {
    font-size: 1em;
}

h5 a:link,
h5 a:visited,
h5 a:active {
    padding: 0;
    text-decoration: none;
}


/* main layout
----------------------------------------------------------*/
.content-wrapper {
    margin: 0 auto;
    max-width: 960px;
    width: 100%;
}

#body {
    background-color: #efeeef;
    clear: both;
    padding-bottom: 35px;
}

.main-content {
    background: url("../Images/accent.png") no-repeat;
    padding-left: 10px;
    padding-top: 30px;
}

.featured+.main-content {
    background: url("../Images/heroAccent.png") no-repeat;
}

header .content-wrapper {
    padding-top: 20px;
}

footer {
    clear: both;
    background-color: #e2e2e2;
    font-size: .8em;
    height: 100px;
}


/* site title
----------------------------------------------------------*/
.site-title {
    color: #c8c8c8;
    font-family: Rockwell, Consolas, "Courier New", Courier, monospace;
    font-size: 2.3em;
    margin: 0;
}

.site-title a,
.site-title a:hover,
.site-title a:active {
    background: none;
    color: #c8c8c8;
    outline: none;
    text-decoration: none;
}


/* login
----------------------------------------------------------*/
#login {
    display: block;
    font-size: .85em;
    margin: 0 0 10px;
    text-align: right;
}

#login a {
    background-color: #d3dce0;
    margin-left: 10px;
    margin-right: 3px;
    padding: 2px 3px;
    text-decoration: none;
}

#login a.username {
    background: none;
    margin: 0;
    padding: 0;
    text-decoration: underline;
}

#login ul {
    margin: 0;
}

#login li {
    display: inline;
    list-style: none;
}


/* menu
----------------------------------------------------------*/
ul#menu {
    font-size: 1.3em;
    font-weight: 600;
    margin: 0 0 5px;
    padding: 0;
    text-align: right;
}

ul#menu li {
    display: inline;
    list-style: none;
    padding-left: 15px;
}

ul#menu li a {
    background: none;
    color: #999;
    text-decoration: none;
}

ul#menu li a:hover {
    color: #333;
    text-decoration: none;
}


/* page elements
----------------------------------------------------------*/
/* featured */
.featured {
    background-color: #fff;
}

.featured .content-wrapper {
    background-color: #7ac0da;
    background-image: -ms-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
    background-image: -o-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
    background-image: -webkit-gradient(linear, left top, right top, color-stop(0, #7ac0da), color-stop(1, #a4d4e6));
    background-image: -webkit-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
    background-image: linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
    color: #3e5667;
    padding: 20px 40px 30px 40px;
}

.featured hgroup.title h1,
.featured hgroup.title h2 {
    color: #fff;
}

.featured p {
    font-size: 1.1em;
}

/* page titles */
hgroup.title {
    margin-bottom: 10px;
}

hgroup.title h1,
hgroup.title h2 {
    display: inline;
}

hgroup.title h2 {
    font-weight: normal;
    margin-left: 3px;
}

/* features */
section.feature {
    width: 300px;
    float: left;
    padding: 10px;
}

/* ordered list */
ol.round {
    list-style-type: none;
    padding-left: 0;
}

ol.round li {
    margin: 25px 0;
    padding-left: 45px;
}

ol.round li.zero {
    background: url("../Images/orderedList0.png") no-repeat;
}

ol.round li.one {
    background: url("../Images/orderedList1.png") no-repeat;
}

ol.round li.two {
    background: url("../Images/orderedList2.png") no-repeat;
}

ol.round li.three {
    background: url("../Images/orderedList3.png") no-repeat;
}

ol.round li.four {
    background: url("../Images/orderedList4.png") no-repeat;
}

ol.round li.five {
    background: url("../Images/orderedList5.png") no-repeat;
}

ol.round li.six {
    background: url("../Images/orderedList6.png") no-repeat;
}

ol.round li.seven {
    background: url("../Images/orderedList7.png") no-repeat;
}

ol.round li.eight {
    background: url("../Images/orderedList8.png") no-repeat;
}

ol.round li.nine {
    background: url("../Images/orderedList9.png") no-repeat;
}

/* content */
article {
    float: left;
    width: 70%;
    box-sizing: border-box;
    /* Padding dahil hesaplama */
}

aside {
    float: right;
    width: 25%;
    box-sizing: border-box;
}

aside ul {
    list-style: none;
    padding: 0;
}

aside ul li {
    background: url("../Images/bullet.png") no-repeat 0 50%;
    padding: 2px 0 2px 20px;
}

.label {
    font-weight: 700;
}

/* login page */
#loginForm {
    border-right: solid 2px #c8c8c8;
    float: left;
    width: 55%;
}

#loginForm .validation-error {
    display: block;
    margin-left: 15px;
}

#loginForm .validation-summary-errors ul {
    margin: 0;
    padding: 0;
}

#loginForm .validation-summary-errors li {
    display: inline;
    list-style: none;
    margin: 0;
}

#loginForm input {
    width: 250px;
}

#loginForm input[type="checkbox"],
#loginForm input[type="submit"],
#loginForm input[type="button"],
#loginForm button {
    width: auto;
}

#socialLoginForm {
    margin-left: 40px;
    float: left;
    width: 40%;
}

#socialLoginForm h2 {
    margin-bottom: 5px;
}

#socialLoginList button {
    margin-bottom: 12px;
}

#logoutForm {
    display: inline;
}

/* contact */
.contact h3 {
    font-size: 1.2em;
}

.contact p {
    margin: 5px 0 0 10px;
}

.contact iframe {
    border: 1px solid #333;
    margin: 5px 0 0 10px;
}

/* forms */
fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

fieldset legend {
    display: none;
}

fieldset ol {
    padding: 0;
    list-style: none;
}

fieldset ol li {
    padding-bottom: 5px;
}

label {
    display: block;
    font-size: 1.2em;
    font-weight: 600;
}

label.checkbox {
    display: inline;
}

input,
textarea {
    border: 1px solid #e2e2e2;
    background: #fff;
    color: #333;
    font-size: 1.2em;
    margin: 5px 0 6px 0;
    padding: 5px;
    width: 300px;
}

textarea {
    font-family: inherit;
    width: 500px;
}

input:focus,
textarea:focus {
    border: 1px solid #7ac0da;
}

input[type="checkbox"] {
    background: transparent;
    border: inherit;
    width: auto;
}

input[type="submit"],
input[type="button"],
button {
    background-color: #d3dce0;
    border: 1px solid #787878;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    padding: 7px;
    margin-right: 8px;
    width: auto;
}

td input[type="submit"],
td input[type="button"],
td button {
    font-size: 1em;
    padding: 4px;
    margin-right: 4px;
}

/* info and errors */
.message-info {
    border: 1px solid;
    clear: both;
    padding: 10px 20px;
}

.message-error {
    clear: both;
    color: #e80c4d;
    font-size: 1.1em;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.message-success {
    color: #7ac0da;
    font-size: 1.3em;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.error {
    color: #e80c4d;
}

/* styles for validation helpers */
.field-validation-error {
    color: #e80c4d;
    font-weight: bold;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #e80c4d;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #e80c4d;
    font-weight: bold;
    font-size: 1.1em;
}

.validation-summary-valid {
    display: none;
}


/* tables
----------------------------------------------------------*/
table {
    border-collapse: collapse;
    border-spacing: 0;
    margin-top: 0.75em;
    border: 0 none;
}

th {
    font-size: 1.2em;
    text-align: left;
    border: none 0px;
    padding-left: 0;
}

th a {
    display: block;
    position: relative;
}

th a:link,
th a:visited,
th a:active,
th a:hover {
    color: #333;
    font-weight: 600;
    text-decoration: none;
    padding: 0;
}

th a:hover {
    color: #000;
}

th.asc a,
th.desc a {
    margin-right: .75em;
}

th.asc a:after,
th.desc a:after {
    display: block;
    position: absolute;
    right: 0em;
    top: 0;
    font-size: 0.75em;
}

th.asc a:after {
    content: '▲';
}

th.desc a:after {
    content: '▼';
}

td {
    padding: 0.25em 2em 0.25em 0em;
    border: 0 none;
}

tr.pager td {
    padding: 0 0.25em 0 0;
}

/* Bozok benzeri menü kartı - EKLENDİ */
.menu-card {
    border: 1px solid #cfcfcf;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.menu-card .menu-head {
    background: #6b0018;
    /* Bozok gibi bordo */
    color: #fff;
    padding: 10px 12px;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.menu-card .menu-body {
    padding: 15px;
}

/* Kart içi tablo daha temiz */
.menu-card table {
    margin-bottom: 0;
    font-size: 13px;

    border-collapse: collapse;
}

.menu-card table td,
.menu-card table th {
    padding: 8px 10px;
    border-bottom: 1px solid #f0f0f0;
}

.menu-card table tr:last-child td {
    border-bottom: none;
}

/* ✅ Foto standart çerçeve (taşma yok) */
.menu-photo-frame {
    width: 300px;
    height: 200px;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    overflow: hidden;
    background: #f7f7f7;
    margin: 0 auto;
    /* ortala */
}

.menu-photo-frame {
    width: 300px;
    height: 200px;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    overflow: hidden;
    background: #f7f7f7;
    margin: 0 auto;
    position: relative;
    /* önemli */
}

.menu-photo-frame {
    width: 300px;
    height: 200px;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    overflow: hidden;
    background: #f7f7f7;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-photo-frame img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
}



.menu-photo-empty i {
    font-size: 24px;
    margin-bottom: 8px;
    opacity: 0.5;
}

/* Gluten yıldızı küçük ve kırmızı */
.gluten-star {
    color: #c40000;
    font-weight: bold;
    margin-left: 4px;
    font-size: 14px;
}

/* Menü kartı için ek stiller */
.menu-price {
    font-weight: bold;
    color: #6b0018;
    text-align: right;
    white-space: nowrap;
}

.menu-description {
    color: #666;
    font-size: 12px;
    line-height: 1.4;
    margin-top: 5px;
    font-style: italic;
}

.menu-category {
    display: inline-block;
    background: #f0f0f0;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    color: #666;
    margin-top: 8px;
}

/********************
*   Mobile Styles   *
********************/
@media only screen and (max-width: 850px) {

    .menu-photo-frame,
    .menu-photo-empty {
        width: 100%;
        max-width: 300px;
        height: 160px;
    }
}


/* login */
#login {
    font-size: .85em;
    margin: 0 0 12px;
    text-align: center;
}

#login ul {
    margin: 5px 0;
    padding: 0;
}

#login li {
    display: inline;
    list-style: none;
    margin: 0;
    padding: 0;
}

#login a {
    background: none;
    color: #999;
    font-weight: 600;
    margin: 2px;
    padding: 0;
}

#login a:hover {
    color: #333;
}

/* menu */
nav {
    margin-bottom: 5px;
}

ul#menu {
    margin: 0;
    padding: 0;
    text-align: center;
}

ul#menu li {
    margin: 0;
    padding: 0;
}


/* main layout
    ----------------------------------------------------------*/
.main-content,
.featured+.main-content {
    background-position: 10px 0;
}

.content-wrapper {
    padding-right: 10px;
    padding-left: 10px;
}

.featured .content-wrapper {
    padding: 10px;
}

/* page content */
article,
aside {
    float: none;
    width: 100%;
}

/* ordered list */
ol.round {
    list-style-type: none;
    padding-left: 0;
}

ol.round li {
    padding-left: 10px;
    margin: 25px 0;
}

ol.round li.zero,
ol.round li.one,
ol.round li.two,
ol.round li.three,
ol.round li.four,
ol.round li.five,
ol.round li.six,
ol.round li.seven,
ol.round li.eight,
ol.round li.nine {
    background: none;
}

/* features */
section.feature {
    float: none;
    padding: 10px;
    width: auto;
}

section.feature img {
    color: #999;
    content: attr(alt);
    font-size: 1.5em;
    font-weight: 600;
}

/* forms */
input {
    width: 90%;
}

/* login page */
#loginForm {
    border-right: none;
    float: none;
    width: auto;
}

#loginForm .validation-error {
    display: block;
    margin-left: 15px;
}

#socialLoginForm {
    margin-left: 0;
    float: none;
    width: auto;
}

/* menü kartı mobil uyumluluk */
.menu-card table td,
.menu-card table th {
    padding: 6px 8px;
    font-size: 12px;
}

.menu-photo-frame {
    height: 160px;
}

.menu-photo-empty {
    height: 160px;
}

/* footer
    ----------------------------------------------------------*/
footer .float-left,
footer .float-right {
    float: none;
}

footer {
    text-align: center;
    height: auto;
    padding: 10px 0;
}

footer p {
    margin: 0;
}

}

/* Lightbox Modal CSS */
.photo-modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.85);
    /* Arkaplan karartma */
    display: flex;
    /* Flex ile ortala */
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}

/* Modal İçerik (Resim) */
.modal-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 90%;
    max-height: 90%;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s;
    /* Büyüme animasyonu */
}

/* Kapat Butonu */
.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}

.close-modal:hover,
.close-modal:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
    }

    to {
        transform: scale(1);
    }
}

/* =========================================
   DARK MODE STYLES
   ========================================= */
body.dark-mode {
    background-color: #121212 !important;
    color: #e0e0e0;
}

.dark-mode html {
    background-color: #121212;
}

/* Genel Linkler */
.dark-mode a {
    color: #90caf9;
}

.dark-mode a:hover {
    color: #bbdefb;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Kartlar ve Kutular */
.dark-mode .uf-card,
.dark-mode .dashboard-card,
.dark-mode .wisdom-card,
.dark-mode .uf-section,
.dark-mode .uf-header,
.dark-mode .admin-sidebar {
    background-color: #1e1e1e !important;
    color: #e0e0e0;
    border-color: #333 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

/* Tablolar */
.dark-mode table,
.dark-mode th,
.dark-mode td {
    color: #e0e0e0;
    border-color: #444 !important;
}

.dark-mode .uf-today-row {
    background-color: #3e2723 !important;
    /* Koyu turuncu/kahve */
    color: #fff !important;
}

.dark-mode .uf-today-row td {
    border-color: #5d4037 !important;
}

/* Form Elemanları */
.dark-mode input,
.dark-mode textarea,
.dark-mode select {
    background-color: #2c2c2c;
    color: #fff;
    border: 1px solid #555;
}

.dark-mode input:focus {
    border-color: #90caf9;
    background-color: #333;
}

/* Yazı ve Başlıklar */
.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode h4,
.dark-mode h5,
.dark-mode h6,
.dark-mode .uf-header-title,
.dark-mode .dashboard-title,
.dark-mode .admin-sidebar-title {
    color: #f5f5f5 !important;
}

.dark-mode .uf-header-sub,
.dark-mode .dashboard-desc,
.dark-mode .uf-muted,
.dark-mode .wisdom-author {
    color: #b0bec5 !important;
}

/* İkonlar */
.dark-mode .dashboard-icon,
.dark-mode .glyphicon {
    color: #ef5350 !important;
    /* Daha açık kırmızı */
}

.dark-mode .glyphicon-star {
    color: #ffd54f !important;
    /* Sarı yıldız */
}

/* Sidebar Linkleri */
.dark-mode .admin-sidebar a {
    color: #e0e0e0;
}

.dark-mode .admin-sidebar a:hover {
    background-color: #333;
}

.dark-mode .admin-sidebar a.active-link {
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
}

/* Footer & Copyright */
.dark-mode footer,
.dark-mode .uf-footer-inner {
    background-color: transparent;
    color: #9e9e9e;
    border-color: #444;
}

/* Dark Mode Toggle Butonu */
.theme-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #333;
    color: #fff;
    border: 2px solid #555;
    font-size: 24px;
    cursor: pointer;
    z-index: 10000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle-btn:hover {
    transform: rotate(30deg) scale(1.1);
    background-color: #444;
}

/* Light modda buton rengi */
body:not(.dark-mode) .theme-toggle-btn {
    background-color: #fff;
    color: #333;
    border-color: #ddd;
}

/* =========================================
   GLOBAL LOADER STYLES
   ========================================= */
#global-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    /* Varsayılan arka plan */
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.dark-mode #global-loader {
    background: #121212;
}

.loader-spinner {
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top: 5px solid #6b0018;
    /* Bozok kırmızısı */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

.dark-mode .loader-spinner {
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top: 5px solid #ef5350;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* İçerik yüklenince gizlemek için */
/* İçerik yüklenince gizlemek için */
.loader-hidden {
    opacity: 0 !important;
    pointer-events: none;
    visibility: hidden;
    /* Tam gizlilik için */
}

/* =========================================
   NOTIFICATION BELL
   ========================================= */
.notification-wrapper {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.notification-bell {
    font-size: 24px;
    color: #555;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s;
}

.notification-bell:hover {
    transform: scale(1.1);
    color: #333;
}

/* Rozet (Badge) */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: #ff3b3b;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    border: 2px solid #fff;
    display: none;
    /* Varsayılan gizli */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Bildirim Menüsü (Dropdown) */
.notification-menu {
    position: absolute;
    top: 35px;
    right: 0;
    width: 250px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
}

.notification-menu.show {
    display: flex;
}

.notification-item {
    padding: 12px;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    color: #333;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item:hover {
    background-color: #f9f9f9;
}

.notification-warning {
    color: #d32f2f;
    background-color: #ffebee;
}

/* Dark Mode Support */
.dark-mode .notification-bell {
    color: #e0e0e0;
}

.dark-mode .notification-bell:hover {
    color: #fff;
}

.dark-mode .notification-badge {
    border-color: #333;
}

.dark-mode .notification-menu {
    background: #2d2d2d;
    border-color: #444;
}

.dark-mode .notification-item {
    color: #e0e0e0;
    border-bottom-color: #444;
}

.dark-mode .notification-item:hover {
    background-color: #383838;
}

.dark-mode .notification-warning {
    background-color: #3e2723;
    color: #ffcdd2;
}