/* ERP System - CSS Stylesheet */

/* ========== Variables ========== */
:root {
    --primary: #14532d;
    --primary-light: #166534;
    --primary-dark: #0f3d22;
    --secondary: #57534e;
    --accent: #ea580c;
    
    --success: #16a34a;
    --warning: #ca8a04;
    --danger: #dc2626;
    --info: #0284c7;
    
    --bg-main: #fafaf9;
    --bg-card: #ffffff;
    --bg-sidebar: #1c1917;
    
    --text-primary: #1c1917;
    --text-secondary: #57534e;
    --text-muted: #a8a29e;
    --text-light: #e7e5e4;
    
    --border: #e7e5e4;
    --border-dark: #d6d3d1;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    
    --radius-sm: 2px;
    --radius: 4px;
    --radius-lg: 8px;
    
    --sidebar-width: 260px;
    
    --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-mono: 'Consolas', 'Monaco', monospace;
}

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

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
}

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

a:hover {
    text-decoration: underline;
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

h1 { font-size: 1.875rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.125rem; }

.text-muted { color: var(--text-muted); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-primary { color: var(--primary); }
.text-mono { font-family: var(--font-mono); font-size: 0.8125rem; }
.text-center { text-align: center; }
.text-right,
th.text-right,
td.text-right {
    text-align: right !important;
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background-color 0.15s, transform 0.1s, box-shadow 0.15s;
    text-decoration: none;
    white-space: nowrap;
}

.btn:hover {
    text-decoration: none;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-light);
}

.btn-secondary {
    background-color: white;
    color: var(--text-secondary);
    border: 1px solid var(--border-dark);
}

.btn-secondary:hover {
    background-color: var(--bg-main);
}

.btn-danger {
    background-color: var(--danger);
    color: white;
}

.btn-danger:hover {
    background-color: #b91c1c;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    padding: 0.5rem;
    background: transparent;
    color: var(--text-secondary);
    border: none;
}

.btn-icon:hover {
    color: var(--primary);
    background-color: var(--bg-main);
}

.btn-icon.btn-danger:hover {
    color: var(--danger);
    background-color: #fef2f2;
}

/* ========== Forms ========== */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

input[type="text"],
input[type="email"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
    background-color: white;
    color: var(--text-primary);
    transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(20, 83, 45, 0.15);
}

input::placeholder {
    color: var(--text-muted);
}

select {
    cursor: pointer;
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
}

.password-toggle:hover {
    color: var(--text-secondary);
}

.form-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.form-actions .btn {
    flex: 1;
}

/* ========== Alerts ========== */
.alert {
    padding: 0.875rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.alert-success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-error {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.alert-warning {
    background-color: #fefce8;
    color: #ca8a04;
    border: 1px solid #fef08a;
}

/* ========== Badges ========== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
}

.badge-primary {
    background-color: rgba(20, 83, 45, 0.1);
    color: var(--primary);
}

.badge-success {
    background-color: #dcfce7;
    color: #166534;
}

.badge-warning {
    background-color: #fef3c7;
    color: #92400e;
}

.badge-danger {
    background-color: #fef2f2;
    color: #dc2626;
}

.badge-info {
    background-color: #e0f2fe;
    color: #0369a1;
}

.badge-muted {
    background-color: #f5f5f4;
    color: var(--text-secondary);
}

.badge-small {
    padding: 0.125rem 0.5rem;
    font-size: 0.6875rem;
}

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

.card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.card-header h2,
.card-header h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.card-header p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

.card-body {
    padding: 1.5rem;
}

.card-body.no-padding {
    padding: 0;
}

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

.data-table th {
    background-color: #f9fafb;
    padding: 0.75rem 1rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.data-table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.data-table tr:hover {
    background-color: rgba(250, 250, 249, 0.5);
}

.data-table tr:last-child td {
    border-bottom: none;
}

.table-responsive {
    overflow-x: auto;
}

.user-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-cell div {
    display: flex;
    flex-direction: column;
}

.user-cell span {
    font-size: 0.75rem;
}

.user-cell-small {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-avatar-small {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: rgba(20, 83, 45, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 600;
}

.user-avatar-tiny {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background-color: rgba(20, 83, 45, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 600;
}

.action-buttons {
    display: flex;
    gap: 0.25rem;
    justify-content: flex-end;
}

.timestamp-cell {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.details-cell {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ========== Install & Login Pages ========== */
.install-page,
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.6)), 
                      url('https://images.unsplash.com/photo-1705909773171-4ba952b9c0af?w=1920&q=80');
    background-size: cover;
    background-position: center;
}

.install-container,
.login-container {
    width: 100%;
    max-width: 480px;
}

.install-card,
.login-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.card-header {
    text-align: center;
    margin-bottom: 1.5rem;
    border: none;
    padding: 0;
}

.card-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    background-color: rgba(20, 83, 45, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.card-icon.success {
    background-color: #dcfce7;
    color: var(--success);
}

.card-header h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-header p {
    color: var(--text-muted);
    margin: 0;
}

.logo {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    background-color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.install-footer,
.login-footer {
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    margin-top: 1.5rem;
}

/* Install Progress */
.install-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-number {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.2s;
}

.progress-step.active .step-number {
    background-color: var(--primary);
    color: white;
}

.progress-step.completed .step-number {
    background-color: var(--success);
    color: white;
}

.step-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
}

.progress-step.active .step-label {
    color: white;
}

.progress-line {
    width: 4rem;
    height: 2px;
    background-color: rgba(255,255,255,0.2);
    margin: 0 0.5rem;
    margin-bottom: 1.5rem;
}

.progress-line.completed {
    background-color: var(--success);
}

.success-info {
    margin-bottom: 1.5rem;
}

.security-notice {
    background-color: #f9fafb;
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.security-notice h3 {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.security-notice ul {
    margin: 0;
    padding-left: 1.25rem;
}

.security-notice li {
    margin-bottom: 0.25rem;
    color: var(--text-secondary);
}

.security-notice code {
    background-color: #e5e7eb;
    padding: 0.125rem 0.375rem;
    border-radius: 2px;
    font-size: 0.8125rem;
}

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

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background-color: #07010D;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    z-index: 50;
    transition: transform 0.2s;
    overflow: hidden;
}

/* ========== Sidebar Animation Background ========== */
.sidebar-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Hex Grid Pattern */
.sidebar-hex-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(30deg, rgba(139, 92, 246, 0.04) 12%, transparent 12.5%, transparent 87%, rgba(139, 92, 246, 0.04) 87.5%, rgba(139, 92, 246, 0.04)),
        linear-gradient(150deg, rgba(139, 92, 246, 0.04) 12%, transparent 12.5%, transparent 87%, rgba(139, 92, 246, 0.04) 87.5%, rgba(139, 92, 246, 0.04)),
        linear-gradient(30deg, rgba(139, 92, 246, 0.04) 12%, transparent 12.5%, transparent 87%, rgba(139, 92, 246, 0.04) 87.5%, rgba(139, 92, 246, 0.04)),
        linear-gradient(150deg, rgba(139, 92, 246, 0.04) 12%, transparent 12.5%, transparent 87%, rgba(139, 92, 246, 0.04) 87.5%, rgba(139, 92, 246, 0.04));
    background-size: 60px 105px;
    background-position: 0 0, 0 0, 30px 52.5px, 30px 52.5px;
    animation: sidebar-hex-shift 25s infinite linear;
}

@keyframes sidebar-hex-shift {
    0% { transform: translateY(0); }
    100% { transform: translateY(105px); }
}

/* Floating Particles */
.sidebar-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(139, 92, 246, 0.5);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.6), 0 0 15px rgba(139, 92, 246, 0.3);
    animation: sidebar-float 10s infinite ease-in-out;
}

.sidebar-particle:nth-child(1) { left: 10%; top: 15%; animation-delay: 0s; }
.sidebar-particle:nth-child(2) { left: 70%; top: 25%; animation-delay: -2s; }
.sidebar-particle:nth-child(3) { left: 30%; top: 45%; animation-delay: -4s; }
.sidebar-particle:nth-child(4) { left: 80%; top: 60%; animation-delay: -1s; }
.sidebar-particle:nth-child(5) { left: 20%; top: 75%; animation-delay: -3s; }
.sidebar-particle:nth-child(6) { left: 60%; top: 85%; animation-delay: -5s; }

@keyframes sidebar-float {
    0%, 100% { transform: translateY(0) translateX(0) scale(1); opacity: 0.4; }
    25% { transform: translateY(-20px) translateX(10px) scale(1.3); opacity: 0.8; }
    50% { transform: translateY(-5px) translateX(-15px) scale(0.7); opacity: 0.5; }
    75% { transform: translateY(-25px) translateX(5px) scale(1.1); opacity: 0.7; }
}

/* Pulse Rings */
.sidebar-pulse-ring {
    position: absolute;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    animation: sidebar-pulse-expand 5s infinite ease-out;
}

.sidebar-pulse-ring:nth-child(1) { width: 80px; height: 80px; top: 8%; left: 10%; animation-delay: 0s; }
.sidebar-pulse-ring:nth-child(2) { width: 100px; height: 100px; bottom: 15%; left: 50%; animation-delay: 1.5s; }
.sidebar-pulse-ring:nth-child(3) { width: 60px; height: 60px; top: 50%; left: 70%; animation-delay: 3s; }

@keyframes sidebar-pulse-expand {
    0% { transform: translate(-50%, -50%) scale(0.3); opacity: 0.6; border-color: rgba(139, 92, 246, 0.5); }
    50% { opacity: 0.3; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; border-color: rgba(59, 130, 246, 0.1); }
}

/* Glow Lines */
.sidebar-glow-line {
    position: absolute;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.6), rgba(59, 130, 246, 0.6), transparent);
    animation: sidebar-stream 4s infinite linear;
}

.sidebar-glow-line:nth-child(1) { height: 60px; left: 15%; animation-delay: 0s; }
.sidebar-glow-line:nth-child(2) { height: 80px; left: 50%; animation-delay: 1s; }
.sidebar-glow-line:nth-child(3) { height: 50px; left: 85%; animation-delay: 2s; }

@keyframes sidebar-stream {
    0% { top: -80px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Sidebar content above animation */
.sidebar-header,
.sidebar-nav,
.sidebar-user {
    position: relative;
    z-index: 1;
}

/* ========== End Sidebar Animation ========== */

.sidebar-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    text-decoration: none;
}

.sidebar-logo:hover {
    text-decoration: none;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    background-color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.logo-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    line-height: 1.2;
}

.logo-text {
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}

.logo-version {
    font-size: 0.65rem;
    font-weight: 300;
    color: #94a3b8;
    letter-spacing: 0.5px;
}

/* Aufklappbare Navigation */
.nav-section.collapsible .nav-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.25rem;
    border-radius: 6px;
    transition: background-color 0.15s;
    user-select: none;
}

.nav-section.collapsible .nav-section-header:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.nav-section.collapsible .nav-section-title {
    cursor: pointer;
    font-size: 0.75rem;
    padding: 0;
    margin: 0;
}

.nav-section.collapsible .collapse-icon {
    transition: transform 0.25s ease;
    opacity: 0.5;
    flex-shrink: 0;
}

.nav-section.collapsible .nav-section-header:hover .collapse-icon {
    opacity: 0.8;
}

.nav-section.collapsible.collapsed .collapse-icon {
    transform: rotate(-90deg);
}

.nav-section.collapsible .nav-section-items {
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.25s ease;
    max-height: 600px;
    opacity: 1;
}

.nav-section.collapsible.collapsed .nav-section-items {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}

/* Aktiver Menü-Punkt Indikator in aufklappbaren Sektionen */
.nav-section.collapsible .nav-item.active {
    position: relative;
}

.nav-section.collapsible .nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background-color: white;
    border-radius: 0 2px 2px 0;
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    overflow-y: overlay;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

/* Webkit Scrollbar für Sidebar - unsichtbar bis hover/scroll */
.sidebar-nav::-webkit-scrollbar {
    width: 6px;
    background: transparent;
}

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

.sidebar-nav::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 6px;
    transition: background 0.3s ease;
}

/* Scrollbar nur bei Hover über Sidebar sichtbar */
.sidebar-nav:hover::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
}

.sidebar-nav:hover {
    scrollbar-color: rgba(255,255,255,0.3) transparent;
}

.nav-section {
    margin-bottom: 1.5rem;
}

.nav-section-title {
    display: block;
    padding: 0 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.4);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s;
    margin-bottom: 0.125rem;
}

a.nav-item:hover {
    color: white;
    background-color: rgba(255,255,255,0.1);
    text-decoration: none;
}

.nav-item.active {
    color: white;
    background-color: var(--primary);
}

.nav-item.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.nav-badge {
    margin-left: auto;
    font-size: 0.625rem;
    padding: 0.125rem 0.375rem;
    background-color: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.6);
    border-radius: 9999px;
}

/* Sidebar User */
.sidebar-user {
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
}

.user-role {
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
}

.logout-btn {
    padding: 0.5rem;
    color: rgba(255,255,255,0.5);
    transition: color 0.15s;
}

.logout-btn:hover {
    color: #ef4444;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.top-bar {
    height: 4rem;
    background-color: rgba(255,255,255,0.8);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(231,229,228,0.5);
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 30;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    margin-right: 0.5rem;
}

.top-bar-spacer {
    flex: 1;
}

.role-badge {
    font-size: 0.75rem;
}

.content-area {
    flex: 1;
    padding: 1.5rem 2rem;
}

/* Page Header */
.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.page-header h1 {
    margin-bottom: 0.25rem;
}

.page-header p {
    color: var(--text-muted);
    margin: 0;
}

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

.stat-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.5rem;
}

.stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.stat-header svg {
    color: var(--text-muted);
}

.stat-value {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background-color: #f9fafb;
    border-radius: var(--radius-sm);
}

.activity-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: rgba(20, 83, 45, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.activity-content strong {
    font-size: 0.875rem;
}

.activity-user {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.activity-time {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Future Modules */
.future-modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.future-module {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px dashed var(--border-dark);
    border-radius: var(--radius-sm);
    background-color: rgba(250, 250, 249, 0.5);
}

.module-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-sm);
    background-color: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.module-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.module-info strong {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.module-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Search & Filter */
.search-card,
.filter-card {
    padding: 1rem 1.5rem;
}

.search-form,
.filter-form {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
}

.search-input-wrapper svg {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-input-wrapper input {
    padding-left: 2.5rem;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.filter-group svg {
    color: var(--text-muted);
}

.filter-group select {
    min-width: 200px;
}

.filter-count {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Legend */
.legend-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
}

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

.modal-header h3 {
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal form {
    padding: 1.5rem;
}

.modal-footer {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    margin-top: 1rem;
}

/* Error Page */
.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
}

.error-container h1 {
    font-size: 6rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.error-container p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .content-area {
        padding: 1rem;
    }
    
    .page-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .page-header .btn {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.625rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
}

/* Utilities */
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }

/* ========== Amazon Module Styles ========== */

/* Account Cell */
.account-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.account-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.account-icon.amazon {
    background-color: #FF9900;
    color: white;
}

.text-small {
    font-size: 0.75rem;
}

.product-count-link {
    color: var(--primary);
    text-decoration: none;
}

.product-count-link:hover {
    text-decoration: underline;
}

/* Info Card */
.info-card {
    background-color: #f0f9ff;
    border-color: #bae6fd;
}

.info-card .card-body h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #0369a1;
    margin-bottom: 1rem;
}

.info-list {
    margin: 0;
    padding-left: 1.5rem;
}

.info-list li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.info-list a {
    color: var(--primary);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-muted);
}

.empty-state svg {
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state p {
    margin-bottom: 1rem;
}

/* Form Enhancements */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.modal-large {
    max-width: 560px;
}

textarea {
    width: 100%;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
    background-color: white;
    color: var(--text-primary);
    resize: vertical;
    font-family: inherit;
}

textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(20, 83, 45, 0.15);
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.5rem;
    vertical-align: middle;
    border-top: 0.3rem solid;
    border-right: 0.3rem solid transparent;
    border-left: 0.3rem solid transparent;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 50;
    min-width: 220px;
    padding: 0.5rem 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: var(--text-primary);
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
}

.dropdown-item:hover {
    background-color: var(--bg-main);
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 0.75rem;
}

/* Stats Small */
.stats-small {
    grid-template-columns: repeat(4, 1fr);
}

/* Products Table */
.products-table {
    font-size: 0.8125rem;
}

.product-thumbnail {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background-color: #f9fafb;
}

.product-thumbnail-placeholder {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9fafb;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
}

.product-thumbnail-placeholder.large {
    width: 200px;
    height: 200px;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.product-title {
    font-weight: 500;
}

.product-brand {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.asin-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--primary);
    font-family: var(--font-mono);
    font-size: 0.8125rem;
}

.asin-link:hover {
    text-decoration: underline;
}

.sku {
    font-size: 0.75rem;
    background-color: #f5f5f4;
    padding: 0.125rem 0.375rem;
    border-radius: 2px;
}

.price {
    font-weight: 600;
    color: var(--text-primary);
}

/* Button Small */
.btn-small {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
}

/* Product Details Modal */
.product-details-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
}

.product-details-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    background-color: #f9fafb;
}

.product-details-info h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.details-table {
    width: 100%;
    font-size: 0.875rem;
}

.details-table th {
    text-align: left;
    padding: 0.5rem 0;
    color: var(--text-muted);
    font-weight: 500;
    width: 120px;
    vertical-align: top;
}

.details-table td {
    padding: 0.5rem 0;
}

.product-actions {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.modal-body {
    padding: 1.5rem;
}

/* Code styling */
code {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    background-color: #f5f5f4;
    padding: 0.125rem 0.375rem;
    border-radius: 2px;
}

/* Filter enhancements */
.filter-form {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    font-size: 0.875rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.filter-group select {
    min-width: 150px;
}

/* Responsive adjustments for Amazon module */
@media (max-width: 1024px) {
    .stats-small {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .product-details-grid {
        grid-template-columns: 1fr;
    }
    
    .product-details-image {
        text-align: center;
    }
    
    .product-details-image img,
    .product-thumbnail-placeholder.large {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .header-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .filter-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-group select {
        flex: 1;
    }
}


/* ========== JTL Statistik Module ========== */

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

.stats-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.stats-grid.stats-small {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

/* Stat Cards */
.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.stat-card.stat-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
}

.stat-card.stat-primary .stat-label {
    color: rgba(255,255,255,0.8);
}

.stat-card.stat-success {
    border-left: 4px solid var(--success);
}

.stat-card.stat-warning {
    border-left: 4px solid var(--warning);
}

.stat-card.stat-danger {
    border-left: 4px solid var(--danger);
}

.stat-card.stat-a { border-left: 4px solid var(--success); }
.stat-card.stat-b { border-left: 4px solid var(--warning); }
.stat-card.stat-c { border-left: 4px solid var(--danger); }

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.stat-card.stat-primary .stat-value {
    color: white;
}

.stat-change {
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

.stat-change.positive {
    color: var(--success);
}

.stat-change.negative {
    color: var(--danger);
}

.stat-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* Chart Cards */
.chart-card .card-body {
    min-height: 300px;
}

/* Quick Links */
.quick-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.quick-link-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-main);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.15s;
    border: 1px solid transparent;
}

.quick-link-card:hover {
    border-color: var(--primary);
    background: white;
}

.quick-link-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
}

.quick-link-text {
    display: flex;
    flex-direction: column;
}

.quick-link-text strong {
    font-size: 0.875rem;
}

.quick-link-text span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Rank Badges */
.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--bg-main);
    color: var(--text-secondary);
}

.rank-badge.rank-1 {
    background: #ffd700;
    color: #78350f;
}

.rank-badge.rank-2 {
    background: #c0c0c0;
    color: #3f3f46;
}

.rank-badge.rank-3 {
    background: #cd7f32;
    color: white;
}

/* Product Cell */
.product-cell {
    display: flex;
    flex-direction: column;
}

.product-cell strong {
    font-size: 0.875rem;
}

.product-cell .text-small {
    font-size: 0.75rem;
}

/* Progress Bar */
.progress-bar-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.progress-bar {
    height: 6px;
    background: var(--primary);
    border-radius: 3px;
    min-width: 4px;
}

/* Table Row Highlights */
.row-danger {
    background-color: #fef2f2 !important;
}

.row-warning {
    background-color: #fffbeb !important;
}

.row-info {
    background-color: #f0f9ff !important;
}

/* Totals Row */
.totals-row {
    background: var(--bg-main) !important;
    font-weight: 600;
}

/* Filter Form Enhancements */
.filter-card {
    margin-bottom: 1.5rem;
}

.filter-card .card-body {
    padding: 1rem;
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
}

/* Search Input */
.search-input-wrapper {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.search-input-wrapper svg {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-input-wrapper input {
    width: 100%;
    padding: 0.5rem 0.75rem 0.5rem 2.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
}

/* Info Card */
.info-card {
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--info);
}

.info-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--info);
}

.info-list {
    margin-left: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.info-list li {
    margin-bottom: 0.25rem;
}

/* Account Cell */
.account-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.account-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-main);
    color: var(--text-secondary);
}

.account-icon.jtl {
    background: #0066cc;
    color: white;
}

/* Export Button */
.header-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.form-select {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: white;
    font-size: 0.875rem;
    cursor: pointer;
}

/* Text Utilities */
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-danger { color: var(--danger) !important; }

/* Responsive for JTL Module */
@media (max-width: 768px) {
    .stats-grid.cols-3 {
        grid-template-columns: 1fr;
    }
    
    .quick-links {
        grid-template-columns: 1fr;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
}


/* ========== Spinner ========== */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s ease-in-out infinite;
    margin-right: 0.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Account Icon */
.account-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
}

.account-icon.jtl {
    background: linear-gradient(135deg, #0066cc, #0052a3);
    color: white;
}

.api-url {
    font-size: 0.8rem;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

.account-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.account-cell .text-small {
    display: block;
    font-size: 0.75rem;
}



/* ========== Netto/Brutto Preis-Toggle ========== */
.price-mode-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 1rem;
}

.price-mode-toggle .toggle-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.price-mode-toggle .toggle-buttons {
    display: flex;
    background: var(--border);
    border-radius: 6px;
    padding: 2px;
}

.price-mode-toggle .toggle-btn {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-secondary);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.price-mode-toggle .toggle-btn:hover {
    color: var(--text-primary);
    text-decoration: none;
}

.price-mode-toggle .toggle-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Preis-Label Styling */
.price-label-mode {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: 2px;
}

/* Responsive für kleine Bildschirme */
@media (max-width: 768px) {
    .price-mode-toggle .toggle-label {
        display: none;
    }
}


/* ==========================================
   AIKO - KI-Unternehmensberater Button
   ========================================== */
.aiko-btn {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 11px 14px !important;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 50%, #5b21b6 100%) !important;
    border: 1px solid rgba(167, 139, 250, 0.5) !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    color: white !important;
    position: relative !important;
    overflow: hidden !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4), 0 0 40px rgba(124, 58, 237, 0.15) !important;
    animation: aiko-pulse 3s ease-in-out infinite !important;
}
@keyframes aiko-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4), 0 0 40px rgba(124, 58, 237, 0.15); }
    50% { box-shadow: 0 4px 25px rgba(124, 58, 237, 0.6), 0 0 60px rgba(124, 58, 237, 0.25); }
}
.aiko-btn:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 6px 30px rgba(124, 58, 237, 0.6), 0 0 60px rgba(124, 58, 237, 0.3) !important;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%) !important;
    animation: none !important;
}
.aiko-btn.aiko-active {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%) !important;
    border-color: rgba(196, 181, 253, 0.7) !important;
    box-shadow: 0 4px 25px rgba(124, 58, 237, 0.6), 0 0 50px rgba(124, 58, 237, 0.25) !important;
}
.aiko-btn-glow {
    position: absolute !important;
    top: 0 !important;
    left: -150% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent) !important;
    animation: aiko-shimmer 2.5s ease-in-out infinite !important;
    pointer-events: none !important;
}
@keyframes aiko-shimmer {
    0% { left: -150%; }
    100% { left: 150%; }
}
.aiko-btn-icon {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 9px !important;
    background: rgba(255,255,255,0.18) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}
.aiko-btn-icon svg {
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.5)) !important;
}
.aiko-btn-text {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    line-height: 1.2 !important;
}
.aiko-btn-text strong {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: white !important;
    letter-spacing: 0.3px !important;
}
.aiko-btn-text small {
    font-size: 0.65rem !important;
    color: rgba(255,255,255,0.7) !important;
    font-weight: 400 !important;
    margin-top: 1px !important;
}
.aiko-btn-badge {
    background: rgba(255,255,255,0.22) !important;
    border: 1px solid rgba(255,255,255,0.35) !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
    font-size: 0.6rem !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    color: white !important;
    flex-shrink: 0 !important;
}

