/* SatoShop Header Stilleri */

/* Genel düzen */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    background-color: #f3f4f4;
    font-family: "Segoe UI", Arial, sans-serif;
}

main,
.main-content {
    flex: 1;
}

.header-container {
    position: sticky;
    top: 0;
    z-index: 1020;
}

/* Birincil üst bar */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 24px;
    background: #ececec;
    border-bottom: 1px solid #d6d6d6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.top-bar a {
    text-decoration: none;
    color: inherit;
}
.top-bar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-logo img {
    height: 30px;
    width: auto;
    border-radius: 50%;
}

.site-title {
    font-size: 15px;
    font-weight: 600;
    color: #141414;
}

.top-bar-right {
    gap: 10px;
    color: #141414;
}

.user-actions-group {
    display: flex;
    align-items: center;
    background-color: #f4f4f4;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    height: 36px;
    padding: 0 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 5px;
}

.user-avatar {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.user-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: #141414;
}

.user-actions-group:hover .user-name {
    color: #141414;
}

/* İkincil üst bar */
.top-bar-secondary {
    padding: 8px 24px;
    color: #141414;
    background: #f5f5f5;
    border-bottom: 1px solid #cbcbcb;
}

.stats-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.85rem;
}

.stats-row .header-stat.positive {
    color: #15803d;
    font-weight: 600;
}

.stats-row .header-stat.negative {
    color: #dc2626;
    font-weight: 600;
}

.stats-total,
.stats-month {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #141414;
}

/* Badge pseudo-elements removed */

/* Responsive düzen */
@media (max-width: 768px) {
    .top-bar {
        padding: 6px 16px;
    }

    .top-bar-secondary {
        padding: 6px 16px;
    }

    .site-title {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .top-bar {
        padding: 6px 12px;
    }

    .top-bar-secondary {
        padding: 6px 12px;
    }

    .stats-row {
        font-size: 0.72rem;
    }
}

body {
    font: 15px / 1.4 sans-serif;
    font-family: 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', sans-serif;
    margin: 0;
    padding: 0;
    word-wrap: break-word;
    background-color: #ececec;
}