/* DURL - Main Stylesheet */

/* Import all component styles */

/* @import 'components/layout.css';
@import 'components/buttons.css';
@import 'components/forms.css';
@import 'components/tables.css';
@import 'components/cards.css';
@import 'components/modal.css';
@import 'components/share.css';
@import 'components/auth.css';
@import 'components/header-actions.css'; */
@import 'components/user-menu.css';
/* @import 'components/upload.css';
@import 'components/misc.css'; */

/* Global Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
}

/* Feedback Messages */
.feedback {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideDown 0.3s ease;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.feedback.success {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

.feedback.error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.feedback.warning {
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    color: #b45309;
}

.feedback.info {
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
}

/* Navigation Tabs */
.nav-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0;
    overflow-x: auto;
    padding-bottom: 2px;
}

.nav-tab {
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    margin-bottom: -2px;
}

.nav-tab:hover {
    color: var(--primary-color);
    background-color: rgba(99, 102, 241, 0.05);
}

.nav-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    font-weight: 600;
    background-color: transparent;
}

/* Admin Header */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.admin-header h1 {
    margin: 0;
    color: var(--text-main);
    font-size: 1.5rem;
    font-weight: 700;
}

/* Print Styles */
@media print {

    .nav-tabs,
    .btn,
    .feedback,
    #batch-toolbar,
    .main-header,
    .main-footer {
        display: none !important;
    }

    body {
        background-color: white;
        background-image: none;
    }

    .card {
        box-shadow: none;
        border: 1px solid var(--border-color);
    }
}

/* Focus Styles */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background-color: var(--primary-color);
    color: white;
}