/* PoldyMobi - Türkiye 2026 Maaş Hesaplama Uygulaması */
/* Google Font: Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
}

html, body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #f0f4ff;
    color: #1a1a2e;
    -webkit-font-smoothing: antialiased;
}

/* MudBlazor overrides */
.mud-appbar {
    box-shadow: 0 2px 12px rgba(26, 35, 126, 0.4) !important;
}

.mud-nav-link {
    border-radius: 8px !important;
    margin: 2px 8px !important;
    transition: background 0.2s ease, transform 0.1s ease !important;
}

.mud-nav-link:hover,
.mud-nav-link.active {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateX(4px);
}

.mud-card {
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.mud-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.12) !important;
}

.mud-table-container {
    border-radius: 0 !important;
}

.mud-table-root tr:hover {
    background: rgba(21, 101, 192, 0.06) !important;
}

.mud-button-root {
    transition: all 0.2s ease !important;
}

.mud-button-root:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2) !important;
}

/* Blazor error UI */
#blazor-error-ui {
    background: #e53935;
    bottom: 0;
    box-shadow: 0 -1px 6px rgba(0,0,0,0.2);
    color: white;
    display: none;
    left: 0;
    padding: 12px 20px;
    position: fixed;
    width: 100%;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 16px;
    top: 14px;
    font-size: 1.2rem;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #1565c0;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0d47a1;
}

/* Number input alignment fix */
.mud-input-slot input[type="number"] {
    text-align: right;
}

/* Print friendly */
@media print {
    .mud-appbar, .mud-drawer { display: none !important; }
    .mud-main-content { margin-left: 0 !important; }
}
