@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    --bg-main: #bdbdbd;
    --shadow-light: #d8d8d8;
    --shadow-dark: #a8a8a8;
    --accent: #d4ff00;
    --brutal-black: #000000;
    --text-muted: #222222;
    --text-primary: #0a0a0a;
    --card-bg: #bababa;
    --surface-elevated: #b5b5b5;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    overflow-x: hidden;
    background-image: linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 100% 40px;
    font-weight: 500;
    font-size: 1.05rem;
    /* Slightly larger base font */
}

h1,
h2,
h3,
h4,
.studio-font {
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--brutal-black);
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

/* Larger */
h2 {
    font-size: 2rem;
}

/* Larger */
h3 {
    font-size: 1.75rem;
}

/* Larger */
h4 {
    font-size: 1.4rem;
}

/* Larger */

.neu-flat,
.neu-card,
.neu-inset,
.glass-top,
.form-select,
.form-input {
    color: var(--text-primary);
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);
    /* More subtle */
    font-size: 1.05rem;
    /* Slightly larger */
}

.neu-flat {
    background: var(--surface-elevated);
    box-shadow: 4px 4px 8px var(--shadow-dark), -4px -4px 8px var(--shadow-light);
    /* Reduced shadow */
}

.neu-inset {
    background: var(--card-bg);
    box-shadow: inset 2px 2px 4px var(--shadow-dark), inset -2px -2px 4px var(--shadow-light);
    /* Reduced */
    border-radius: 6px;
    /* Smaller radius */
}

.neu-button {
    transition: all 0.2s ease;
    box-shadow: 2px 2px 4px var(--shadow-dark), -2px -2px 4px var(--shadow-light);
    /* Reduced */
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.05rem;
    /* Larger */
    border-radius: 4px;
    /* Smaller radius */
}

.neu-button:active {
    box-shadow: inset 1px 1px 2px var(--shadow-dark), inset -1px -1px 2px var(--shadow-light);
    /* Reduced */
    transform: scale(0.98);
}

.neu-card {
    border-radius: 8px;
    /* Smaller radius */
    background: var(--card-bg);
    box-shadow: 2px 2px 12px var(--shadow-dark), -2px -2px 12px var(--shadow-light);
    /* Reduced */
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.item-row,
.task-item-row {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    /* Thinner border */
    transition: all 0.2s ease;
    font-size: 1.05rem;
    /* Larger */
}

.item-row:hover,
.task-item-row:hover {
    background: rgba(212, 255, 0, 0.12);
    /* More subtle */
}

.glass-top {
    backdrop-filter: blur(8px);
    /* Less blur */
    background: rgba(192, 192, 192, 0.92);
    /* Less opaque */
    border-bottom: 2px solid var(--brutal-black);
    /* Thinner border */
}

.dept-tag {
    background: var(--brutal-black);
    color: white;
    padding: 2px 8px;
    font-size: 14px;
    /* Slightly larger */
    font-weight: 900;
    font-style: italic;
    border-radius: 10px;
    /* Smaller radius */
    text-shadow: none;
}

.hr-line {
    height: 1px;
    /* Thinner */
    background: rgba(0, 0, 0, 0.15);
    /* Lighter */
    width: 100%;
    margin: 1rem 0;
}

.form-select,
.form-input {
    background: var(--card-bg);
    box-shadow: inset 1px 1px 3px var(--shadow-dark), inset -1px -1px 3px var(--shadow-light);
    /* Reduced */
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 3px;
    /* Smaller radius */
    padding: 0.5rem 1rem;
    font-size: 1rem;
    /* Larger */
    outline: none;
    color: var(--text-primary);
    font-weight: 500;
}

.form-select:focus,
.form-input:focus {
    border-color: rgba(0, 0, 0, 0.2);
    box-shadow: inset 1px 1px 3px var(--shadow-dark),
        inset -1px -1px 3px var(--shadow-light),
        0 0 0 1px rgba(0, 0, 0, 0.03);
    /* Reduced glow */
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(8px);
        /* Smaller movement */
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide {
    animation: slideIn 0.3s ease forwards;
}

/* Nav Pills */
.nav-pill {
    padding: 0.5rem 1.2rem;
    border-radius: 3px;
    /* Smaller radius */
    font-size: 11px;
    /* Slightly larger */
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s;
    cursor: pointer;
    color: var(--text-primary);
}

.nav-pill-dark {
    padding: 0.5rem 1.2rem;
    border-radius: 3px;
    /* Smaller radius */
    font-size: 11px;
    /* Slightly larger */
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s;
    cursor: pointer;
    color: var(--text-primary);
    background-color: var(--shadow-dark);
}

.nav-pill.active {
    background: black;
    color: var(--accent);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
    /* More subtle */
}

.nav-pill-dark.active {
    background: black;
    color: var(--accent);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
    /* More subtle */
}

/* Grid Item Wrapper */
.grid-item {
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0.75rem;
    /* Less padding */
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.15);
    /* Thinner border */
    transition: all 0.3s;
    border-radius: 6px;
    /* Smaller radius */
}

.grid-item:hover {
    border-color: rgba(0, 0, 0, 0.4);
    /* Less dramatic */
    transform: translateY(-2px);
    /* Smaller lift */
}

.grid-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.8;
    /* Less dramatic change */
    transition: opacity 0.3s;
}

.grid-item:hover img {
    opacity: 0.85;
    /* More subtle change */
}

.grid-content {
    position: relative;
    z-index: 10;
    background: rgba(0, 0, 0, 0.85);
    /* Less opaque */
    color: white;
    padding: 8px;
    /* Less padding */
    border-radius: 3px;
    /* Smaller radius */
    font-weight: 600;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.6);
    /* More subtle */
    font-size: 1rem;
    /* Larger */
}

/* Calendar Styles */
.calendar-day.active {
    background: var(--brutal-black);
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    /* Much more subtle */
    transform: translateY(-1px);
    /* Smaller lift */
    font-weight: 700;
    border-radius: 3px;
    /* Smaller radius */
}

/* Task Specific */
.task-item {
    border-left: 3px solid var(--brutal-black);
    /* Thinner border */
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    /* Faster transition */
    font-weight: 500;
    font-size: 1.05rem;
    /* Larger */
    border-radius: 4px;
    /* Added subtle radius */
}

.task-item:hover {
    /* transform: scale(1.005) translateX(2px); removed */
    background: rgba(212, 255, 0, 0.15);
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
    /* More subtle */
    color: var(--brutal-black);
    text-shadow: none;
}

/* Profile Upload */
.profile-upload-btn {
    opacity: 0;
    transition: opacity 0.2s ease;
    /* Faster */
    background: rgba(0, 0, 0, 0.6);
    /* Less opaque */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    /* Larger */
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.6);
    /* More subtle */
    border-radius: 3px;
    /* Smaller radius */
}

.profile-container:hover .profile-upload-btn {
    opacity: 1;
}

/* Additional contrast helper */
.contrast-text {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
    /* Larger */
}

/* Subtle text enhancements */
p,
span,
div:not([class*="grid-content"]) {
    text-shadow: 0 0.5px 0 rgba(255, 255, 255, 0.15);
    /* More subtle */
    font-size: 0.7rem;
    /* Larger */
}

/* Better list contrast */
li {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1.05rem;
    /* Larger */
}

/* Small text elements */
small,
.text-sm {
    font-size: 0.95rem;
    /* Still larger than typical small text */
}

/* Button and link text */
button,
a,
.btn {
    font-size: 1.05rem;
    /* Larger */
}

/* Label text */
label {
    font-size: 1.05rem;
    /* Larger */
    font-weight: 600;
}


.max-width {
    width: 100%;
    min-width: 100%;
}