/* public/css/app.css */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --color-primary: #8b6f47;
    --color-primary-dark: #6e5533;
    --color-primary-light: #f5eedf;
    --color-bg-light: #fdfbf7;
    --color-bg-dark: #121212;
    --color-surface-light: #ffffff;
    --color-surface-dark: #1e1e1e;
    --color-text-light: #3d2e1a;
    --color-text-muted: #7c6e5c;
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg-light);
    color: var(--color-text-light);
    scroll-behavior: smooth;
}

h1, h2, h3, h4, .font-serif {
    font-family: var(--font-serif);
}

/* Glassmorphism */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 111, 71, 0.15);
    box-shadow: 0 8px 32px 0 rgba(139, 111, 71, 0.05);
}

.glass-card {
    background: #ffffff;
    border: 1px solid rgba(139, 111, 71, 0.1);
    box-shadow: 0 4px 20px 0 rgba(139, 111, 71, 0.03);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px 0 rgba(139, 111, 71, 0.08);
    border-color: rgba(139, 111, 71, 0.25);
}

/* Sidebar styling */
.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--color-text-muted);
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    font-weight: 500;
}

.sidebar-link:hover, .sidebar-link.active {
    background-color: var(--color-primary-light);
    color: var(--color-primary-dark);
}

.sidebar-link svg {
    margin-right: 0.75rem;
}

/* Custom buttons */
.btn-primary {
    background-color: var(--color-primary);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    box-shadow: 0 4px 12px rgba(139, 111, 71, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    padding: 0.5rem 1.25rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

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

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.4s ease forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #fdfbf7;
}

::-webkit-scrollbar-thumb {
    background: #c5bba8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8b6f47;
}

/* Autocomplete suggestions */
.suggestion-box {
    position: absolute;
    z-index: 50;
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    background: white;
    border: 1px solid #e2d8c9;
    border-radius: 0.375rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
}

.suggestion-item {
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background 0.15s ease;
}

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

/* Print Overrides */
@media print {
    .no-print {
        display: none !important;
    }
}
