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

/* Global Variables & Base Styles */
:root {
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;

    --color-black: #000000;
    --color-white: #ffffff;
    --color-gray-100: #f5f5f5;
    --color-gray-200: #e5e5e5;
    --color-gray-500: #737373;
    --color-gray-800: #262626;
}

body {
    font-family: var(--font-sans);
    color: var(--color-black);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    /* Serif usually looks better with lighter weight */
}

/* Typography Utilities */
.font-serif {
    font-family: var(--font-serif);
}

.font-sans {
    font-family: var(--font-sans);
}

/* Custom Component Styles that override or augment Tailwind */

/* Sharp buttons */
.btn-primary {
    background-color: var(--color-black);
    color: var(--color-white);
    border: 1px solid var(--color-black);
    padding: 0.5rem 1rem;
    border-radius: 0;
    /* Sharp corners */
    transition: all 0.2s ease;
}

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

.btn-outline {
    background-color: transparent;
    color: var(--color-black);
    border: 1px solid var(--color-gray-200);
    padding: 0.5rem 1rem;
    border-radius: 0;
}

.btn-outline:hover {
    border-color: var(--color-black);
}

/* Select inputs */
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    border-radius: 0 !important;
    /* Sharp corners */
    border-color: var(--color-gray-200);
}

select:focus {
    outline: none;
    border-color: var(--color-black);
    box-shadow: none;
}

/* Tabs */
.tab-active {
    border-bottom: 2px solid var(--color-black);
    color: var(--color-black);
}

.tab-inactive {
    color: var(--color-gray-500);
    border-bottom: 2px solid transparent;
}

.tab-inactive:hover {
    color: var(--color-black);
}

/* Cards */
.card-sharp {
    background: var(--color-white);
    border-top: 1px solid var(--color-gray-200);
    /* Minimalist separator style */
    border-bottom: 1px solid var(--color-gray-100);
    /* No border radius, no shadow, or very subtle */
    box-shadow: none;
}

/* Pills / Badges */
.pill {
    display: inline-block;
    background-color: var(--color-gray-100);
    color: var(--color-black);
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    font-family: var(--font-mono);
    /* Monospace tags often look technical/clean */
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
    white-space: nowrap;
}