﻿/*
Theme Name: EGT System Tema
Theme URI: https://egt.com.tr
Author: EGT System
Author URI: https://egt.com.tr
Description: Modern ve sade tasarıma sahip, responsive, hafif ve hızlı çalışan özel WordPress teması. Kullanıcı yetkilendirme, özel giriş sayfası, admin paneli entegrasyonu ve dark mode desteği ile kurumsal çözüm.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: egt-system-tema
Domain Path: /languages
Requires PHP: 7.4
Tags: custom-login, private-content, dark-mode, responsive, bootstrap, custom-colors, custom-admin-panel

EGT System Tema - Kurumsal WordPress Teması
Copyright (C) 2024 EGT System
*/

/* ==========================================================================
   CSS Değişkenleri (Varsayılan)
   ========================================================================== */
:root {
    --egt-primary-color: #2563eb;
    --egt-primary-hover: #1d4ed8;
    --egt-secondary-color: #64748b;
    --egt-secondary-hover: #475569;
    --egt-button-color: #2563eb;
    --egt-button-hover: #1d4ed8;
    --egt-button-text-color: #ffffff;
    --egt-text-color: #1e293b;
    --egt-text-light: #64748b;
    --egt-text-lighter: #94a3b8;
    --egt-bg-color: #ffffff;
    --egt-bg-secondary: #f8fafc;
    --egt-bg-sidebar: #1e293b;
    --egt-bg-header: #ffffff;
    --egt-border-color: #e2e8f0;
    --egt-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --egt-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --egt-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --egt-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --egt-radius-sm: 0.375rem;
    --egt-radius: 0.5rem;
    --egt-radius-lg: 0.75rem;
    --egt-radius-xl: 1rem;
    --egt-sidebar-width: 260px;
    --egt-header-height: 64px;
    --egt-transition: all 0.2s ease-in-out;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--egt-text-color);
    background-color: var(--egt-bg-secondary);
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: var(--egt-primary-color);
    text-decoration: none;
    transition: var(--egt-transition);
}

a:hover {
    color: var(--egt-primary-hover);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.egt-app {
    display: flex;
    min-height: 100vh;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */
.egt-sidebar {
    width: var(--egt-sidebar-width);
    background: linear-gradient(180deg, #0f172a 0%, #0b1120 100%);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
}

.egt-sidebar.egt-sidebar-open {
    transform: translateX(0);
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.4);
}

.egt-sidebar-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: var(--egt-header-height);
}

.egt-sidebar-logo {
    max-height: 42px;
    width: auto;
    border-radius: 6px;
}

.egt-sidebar-logo-link {
    display: block;
    flex-shrink: 0;
}

.egt-sidebar-logo-link:hover .egt-sidebar-logo {
    opacity: 0.85;
    transition: opacity 0.25s ease;
}

.egt-sidebar-brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--egt-primary-color), #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.egt-sidebar-brand-name {
    display: none;
}

/* Sidebar Pin Butonu */
.egt-sidebar-pin {
    margin-left: auto;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.egt-sidebar-pin:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.egt-sidebar-pin.egt-pinned {
    background: rgba(37, 99, 235, 0.2);
    color: var(--egt-primary-color);
}

/* Sabitlenmiş sidebar */
body.egt-sidebar-pinned .egt-sidebar {
    transform: translateX(0) !important;
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.4);
}

body.egt-sidebar-pinned .egt-overlay.active {
    display: none !important;
}

body.egt-sidebar-pinned .egt-main {
    margin-left: var(--egt-sidebar-width);
}

.egt-sidebar-nav {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.5rem 0 0.75rem;
}

.egt-sidebar-nav::-webkit-scrollbar {
    width: 3px;
}

.egt-sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.egt-sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.egt-sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.egt-sidebar-nav > ul > li {
    margin: 0.125rem 0.625rem;
}

.egt-sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    text-decoration: none;
    position: relative;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
}

.egt-sidebar-nav a i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.egt-sidebar-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.04);
}

.egt-sidebar-nav a:hover i {
    color: var(--egt-primary-color);
    transform: translateX(1px);
}

.egt-sidebar-nav a.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(37, 99, 235, 0.05));
    border-color: rgba(37, 99, 235, 0.15);
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1), inset 3px 0 0 var(--egt-primary-color);
}

.egt-sidebar-nav a.active i {
    color: var(--egt-primary-color);
}

.egt-sidebar-nav a.active::after {
    content: '';
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--egt-primary-color);
    box-shadow: 0 0 6px rgba(37, 99, 235, 0.6);
    opacity: 0.7;
}

/* Parent menu item arrow */
.egt-sidebar-nav .menu-item-has-children > a {
    padding-right: 2.5rem;
}

.egt-sidebar-nav .menu-item-has-children > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.35;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}

.egt-sidebar-nav .menu-item-has-children > a.egt-sub-open::after {
    transform: translateY(-50%) rotate(180deg);
    opacity: 0.7;
}

/* Sub-menu - collapsible */
.egt-sidebar-nav .sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, padding 0.25s ease;
    opacity: 0;
    padding: 0 0 0 0;
}

.egt-sidebar-nav .sub-menu.egt-sub-expanded {
    max-height: 500px;
    opacity: 1;
    padding: 0.25rem 0 0.125rem 0;
}

.egt-sidebar-nav .sub-menu li {
    position: relative;
    margin: 0.0625rem 0.5rem;
}

.egt-sidebar-nav .sub-menu a {
    font-size: 0.8125rem;
    padding: 0.5rem 0.75rem 0.5rem 2rem;
    font-weight: 400;
    border-radius: 6px;
    border: none;
}

.egt-sidebar-nav .sub-menu a:hover {
    border: none;
}

/* Sub-menu bullet indicator */
.egt-sidebar-nav .sub-menu a::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    transition: all 0.25s ease;
}

.egt-sidebar-nav .sub-menu a:hover::before {
    background: var(--egt-primary-color);
    box-shadow: 0 0 6px rgba(37, 99, 235, 0.5);
    width: 5px;
    height: 5px;
}

.egt-sidebar-nav .sub-menu a.active {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(37, 99, 235, 0.04));
    font-weight: 500;
    border: none;
    box-shadow: none;
}

.egt-sidebar-nav .sub-menu a.active::before {
    background: var(--egt-primary-color);
    box-shadow: 0 0 6px rgba(37, 99, 235, 0.5);
    width: 5px;
    height: 5px;
}

.egt-sidebar-nav .sub-menu a.active::after {
    display: none;
}


/* Sidebar Footer / User Info */
.egt-sidebar-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.15);
}

.egt-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    padding: 0.5rem 0;
    border-radius: 8px;
    transition: background 0.2s ease;
}

a.egt-user-info:hover {
    background: rgba(255, 255, 255, 0.05);
}

.egt-user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.egt-user-avatar-placeholder {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--egt-primary-color), #7c3aed);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.egt-user-details {
    flex: 1;
    min-width: 0;
}

.egt-user-details .egt-user-name {
    color: #fff;
    font-weight: 600;
    font-size: 0.8125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.egt-user-details .egt-user-role {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.125rem;
}

/* ==========================================================================
   Main Content Area
   ========================================================================== */
.egt-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--egt-bg-secondary);
}

/* ==========================================================================
   Header
   ========================================================================== */
.egt-header {
    background: var(--egt-bg-header);
    border-bottom: 1px solid var(--egt-border-color);
    height: var(--egt-header-height);
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1030;
    gap: 1rem;
}

.egt-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    min-width: 0;
}

.egt-header-center {
    flex: 1;
    text-align: center;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.egt-header-logo-link {
    display: flex;
    align-items: center;
}

.egt-header-logo {
    max-height: 36px;
    width: auto;
}

.egt-header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* Sidebar Toggle Button */
.egt-sidebar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--egt-radius);
    background: transparent;
    border: 1px solid var(--egt-border-color);
    color: var(--egt-text-color);
    font-size: 1.125rem;
    cursor: pointer;
    transition: var(--egt-transition);
    flex-shrink: 0;
}

.egt-sidebar-toggle:hover {
    background: var(--egt-bg-secondary);
    color: var(--egt-primary-color);
    border-color: var(--egt-primary-color);
}

/* Header Search */
.egt-header-search {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: var(--egt-radius);
    background: var(--egt-bg-secondary);
    border: 1px solid var(--egt-border-color);
    color: var(--egt-text-light);
    transition: var(--egt-transition);
    width: 200px;
}

@media (min-width: 1024px) {
    .egt-header-search {
        display: flex;
    }
}

.egt-header-search i {
    font-size: 0.8125rem;
    opacity: 0.6;
}

.egt-header-search-input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.8125rem;
    color: var(--egt-text-color);
    width: 100%;
}

.egt-header-search-input::placeholder {
    color: var(--egt-text-lighter);
}

.egt-header-search:focus-within {
    border-color: var(--egt-primary-color);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

/* Page Title */
.egt-page-title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--egt-text-color);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Header Button */
.egt-header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--egt-radius);
    background: transparent;
    border: 1px solid transparent;
    color: var(--egt-text-light);
    cursor: pointer;
    transition: var(--egt-transition);
    text-decoration: none;
    font-size: 1rem;
}

.egt-header-btn:hover {
    background: var(--egt-bg-secondary);
    color: var(--egt-text-color);
    border-color: var(--egt-border-color);
}

/* Header Divider */
.egt-header-divider {
    width: 1px;
    height: 24px;
    background: var(--egt-border-color);
    margin: 0 0.25rem;
    flex-shrink: 0;
}

/* User Dropdown */
.egt-header-user {
    position: relative;
}

.egt-user-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem 0.25rem 0.25rem;
    border-radius: 9999px;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--egt-transition);
}

.egt-user-dropdown-toggle:hover {
    background: var(--egt-bg-secondary);
    border-color: var(--egt-border-color);
}

.egt-header-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.egt-header-avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--egt-primary-color), #7c3aed);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.egt-header-user-name {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--egt-text-color);
    white-space: nowrap;
    display: none;
}

@media (min-width: 768px) {
    .egt-header-user-name {
        display: inline;
    }
}

.egt-header-user-arrow {
    font-size: 0.625rem;
    color: var(--egt-text-lighter);
    transition: transform 0.2s ease;
}

.egt-user-dropdown-toggle.open .egt-header-user-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.egt-user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    width: 220px;
    background: var(--egt-bg-color);
    border: 1px solid var(--egt-border-color);
    border-radius: var(--egt-radius-lg);
    box-shadow: var(--egt-shadow-lg);
    z-index: 1050;
    overflow: hidden;
}

.egt-user-dropdown.open {
    display: block;
}

.egt-user-dropdown-header {
    padding: 1rem 1.125rem;
    border-bottom: 1px solid var(--egt-border-color);
    background: var(--egt-bg-secondary);
}

.egt-user-dropdown-header strong {
    display: block;
    font-size: 0.875rem;
    color: var(--egt-text-color);
}

.egt-user-dropdown-header span {
    display: block;
    font-size: 0.75rem;
    color: var(--egt-text-light);
    margin-top: 0.125rem;
    word-break: break-all;
}

.egt-user-dropdown-body {
    padding: 0.375rem 0;
}

.egt-user-dropdown-footer {
    border-top: 1px solid var(--egt-border-color);
    padding: 0.375rem 0;
}

.egt-user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1.125rem;
    font-size: 0.8125rem;
    color: var(--egt-text-color);
    text-decoration: none;
    transition: var(--egt-transition);
}

.egt-user-dropdown-item i {
    width: 16px;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--egt-text-light);
}

.egt-user-dropdown-item:hover {
    background: var(--egt-bg-secondary);
    color: var(--egt-primary-color);
}

.egt-user-dropdown-item:hover i {
    color: var(--egt-primary-color);
}

.egt-user-dropdown-logout {
    color: #dc2626;
}

.egt-user-dropdown-logout i {
    color: #dc2626;
}

.egt-user-dropdown-logout:hover {
    color: #b91c1c;
}

.egt-user-dropdown-logout:hover i {
    color: #b91c1c;
}

/* Content */
.egt-content {
    flex: 1;
    padding: 1.5rem;
}

.egt-content-header {
    margin-bottom: 1.5rem;
}

.egt-content-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--egt-text-color);
}

.egt-content-header p {
    color: var(--egt-text-light);
    margin-top: 0.25rem;
    font-size: 0.875rem;
}

/* Cards */
.egt-card {
    background: var(--egt-bg-color);
    border-radius: var(--egt-radius-lg);
    box-shadow: var(--egt-shadow);
    border: 1px solid var(--egt-border-color);
    margin-bottom: 1.5rem;
}

.egt-card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--egt-border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.egt-card-header h3 {
    font-size: 1rem;
    font-weight: 600;
}

.egt-card-body {
    padding: 1.5rem;
}

.egt-card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--egt-border-color);
    background: var(--egt-bg-secondary);
    border-radius: 0 0 var(--egt-radius-lg) var(--egt-radius-lg);
}

/* Stats Grid */
.egt-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.egt-stat-card {
    background: var(--egt-bg-color);
    border-radius: var(--egt-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--egt-shadow);
    border: 1px solid var(--egt-border-color);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.egt-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--egt-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
}

.egt-stat-info h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.egt-stat-info p {
    color: var(--egt-text-light);
    font-size: 0.8125rem;
}

/* Buttons */
.egt-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: var(--egt-radius);
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--egt-transition);
    border: 1px solid transparent;
    line-height: 1.5;
}

.egt-btn-primary {
    background: var(--egt-primary-color);
    color: var(--egt-button-text-color);
    border-color: var(--egt-primary-color);
}

.egt-btn-primary:hover {
    background: var(--egt-primary-hover);
    border-color: var(--egt-primary-hover);
    color: var(--egt-button-text-color);
}

.egt-btn-secondary {
    background: var(--egt-secondary-color);
    color: #fff;
    border-color: var(--egt-secondary-color);
}

.egt-btn-secondary:hover {
    background: var(--egt-secondary-hover);
    border-color: var(--egt-secondary-hover);
    color: #fff;
}

.egt-btn-outline {
    background: transparent;
    color: var(--egt-primary-color);
    border-color: var(--egt-primary-color);
}

.egt-btn-outline:hover {
    background: var(--egt-primary-color);
    color: var(--egt-button-text-color);
}

.egt-btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
}

.egt-btn-lg {
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
}

/* Tables */
.egt-table {
    width: 100%;
    border-collapse: collapse;
}

.egt-table th,
.egt-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--egt-border-color);
    font-size: 0.875rem;
}

.egt-table th {
    font-weight: 600;
    color: var(--egt-text-light);
    background: var(--egt-bg-secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.egt-table tbody tr:hover {
    background: var(--egt-bg-secondary);
}

/* Badge */
.egt-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.egt-badge-primary {
    background: rgba(37, 99, 235, 0.1);
    color: var(--egt-primary-color);
}

.egt-badge-success {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.egt-badge-warning {
    background: rgba(234, 179, 8, 0.1);
    color: #ca8a04;
}

.egt-badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

/* Footer */
.egt-footer {
    background: var(--egt-bg-header);
    border-top: 1px solid var(--egt-border-color);
    padding: 1rem 1.5rem;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--egt-text-light);
}

/* Alerts */
.egt-alert {
    padding: 1rem 1.25rem;
    border-radius: var(--egt-radius);
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    border-left: 4px solid transparent;
}

.egt-alert-info {
    background: rgba(37, 99, 235, 0.08);
    border-left-color: var(--egt-primary-color);
    color: var(--egt-primary-color);
}

.egt-alert-success {
    background: rgba(34, 197, 94, 0.08);
    border-left-color: #16a34a;
    color: #15803d;
}

.egt-alert-warning {
    background: rgba(234, 179, 8, 0.08);
    border-left-color: #ca8a04;
    color: #a16207;
}

.egt-alert-danger {
    background: rgba(239, 68, 68, 0.08);
    border-left-color: #dc2626;
    color: #b91c1c;
}

/* Avatar Group */
.egt-avatar-group {
    display: flex;
}

.egt-avatar-group .egt-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--egt-bg-color);
    margin-left: -8px;
}

.egt-avatar-group .egt-avatar:first-child {
    margin-left: 0;
}

/* Progress */
.egt-progress {
    height: 6px;
    background: var(--egt-bg-secondary);
    border-radius: 9999px;
    overflow: hidden;
}

.egt-progress-bar {
    height: 100%;
    border-radius: 9999px;
    background: var(--egt-primary-color);
    transition: width 0.6s ease;
}

/* Artwork Grid */
.egt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.egt-artwork-card {
    background: var(--egt-bg-color);
    border-radius: var(--egt-radius-lg);
    overflow: hidden;
    box-shadow: var(--egt-shadow);
    border: 1px solid var(--egt-border-color);
    transition: var(--egt-transition);
}

.egt-artwork-card:hover {
    box-shadow: var(--egt-shadow-lg);
    transform: translateY(-2px);
}

.egt-artwork-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--egt-bg-secondary);
}

.egt-artwork-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.egt-artwork-card:hover .egt-artwork-image img {
    transform: scale(1.05);
}

.egt-artwork-body {
    padding: 1rem 1.25rem;
}

.egt-artwork-body h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.egt-artwork-body p {
    font-size: 0.8125rem;
    color: var(--egt-text-light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.egt-artwork-footer {
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--egt-border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* List Group */
.egt-list-group {
    list-style: none;
    padding: 0;
    margin: 0;
}

.egt-list-item {
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid var(--egt-border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--egt-transition);
}

.egt-list-item:last-child {
    border-bottom: none;
}

.egt-list-item:hover {
    background: var(--egt-bg-secondary);
}

/* Overlay */
.egt-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1038;
}

.egt-overlay.active {
    display: block;
}

/* Utility */
.egt-text-center { text-align: center; }
.egt-text-right { text-align: right; }
.egt-mt-1 { margin-top: 0.25rem; }
.egt-mt-2 { margin-top: 0.5rem; }
.egt-mt-3 { margin-top: 1rem; }
.egt-mt-4 { margin-top: 1.5rem; }
.egt-mb-1 { margin-bottom: 0.25rem; }
.egt-mb-2 { margin-bottom: 0.5rem; }
.egt-mb-3 { margin-bottom: 1rem; }
.egt-mb-4 { margin-bottom: 1.5rem; }
.egt-d-flex { display: flex; }
.egt-align-center { align-items: center; }
.egt-justify-between { justify-content: space-between; }
.egt-gap-2 { gap: 0.5rem; }
.egt-gap-3 { gap: 1rem; }

/* Salutation on dashboard */
.egt-salutation {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--egt-text-color);
    margin-bottom: 0.25rem;
}
