:root {
    --bg: #eef2f7;
    --panel: rgba(248, 250, 252, 0.92);
    --panel-strong: #ffffff;
    --surface: #ffffff;
    --surface-alt: #f1f5f9;
    --line: rgba(51, 65, 85, 0.12);
    --line-strong: rgba(51, 65, 85, 0.25);
    --text: #0f172a;
    --muted: #64748b;
    --brand: #2563eb;
    --brand-strong: #1d4ed8;
    --brand-soft: #dbeafe;
    --brand-accent: #60a5fa;
    --brand-shadow: rgba(37, 99, 235, 0.25);
    --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --header-height: 92px;
    --sidebar-width: 320px;
    --font-main: "Segoe UI", "Trebuchet MS", sans-serif;
    --grad-1: rgba(186, 230, 253, 0.9);
    --grad-2: rgba(125, 211, 252, 0.35);
    --bg-linear: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 56%, #cbd5e1 100%);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: var(--font-main);
    color: var(--text);
    background:
        radial-gradient(circle at top left, var(--grad-1), transparent 24%),
        radial-gradient(circle at top right, var(--grad-2), transparent 22%),
        var(--bg-linear);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
    opacity: 0.35;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.login-page {
    display: grid;
    place-items: center;
    padding: 32px;
    min-height: 100vh;
}

.login-shell {
    width: min(100%, 480px);
}

.login-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 32px;
    padding: 36px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.login-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.login-logo {
    max-width: 200px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.login-brand__icon,
.brand-mark {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-accent) 100%);
    color: #fff;
    box-shadow: 0 16px 36px var(--brand-shadow);
    font-weight: 700;
}

.eyebrow {
    margin: 0 0 4px;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.login-card h1,
.brand-cluster h1,
.calendar-card h3 {
    margin: 0;
}

.login-copy {
    margin: 0 0 24px;
    color: var(--muted);
    line-height: 1.6;
}

.login-form {
    display: grid;
    gap: 18px;
}

.login-form label,
.field {
    display: grid;
    gap: 8px;
}

.login-form label span {
    font-weight: 600;
    color: var(--text);
    opacity: 0.8;
}

.login-form span,
.field span,
.range-fields span {
    font-size: 13px;
    color: var(--muted);
}

.login-error,
.inline-warning {
    padding: 12px 14px;
    border-radius: 14px;
    margin-bottom: 18px;
    font-size: 14px;
}

.login-error {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.login-form input {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.7);
    color: var(--text);
    transition: all 0.2s ease;
}

.login-form input:focus {
    background: #fff;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px var(--brand-shadow);
    outline: none;
}

.primary-button,
.secondary-button,
.create-button,
.text-button,
.select-control,
.search-box input,
.field input,
.field textarea,
.field select,
.range-fields input {
    border-radius: 14px;
    border: 1px solid transparent;
}

.primary-button {
    border: none;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-accent) 100%);
    color: #fff;
    padding: 14px 20px;
    cursor: pointer;
    box-shadow: 0 18px 32px var(--brand-shadow);
}

.primary-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 38px var(--brand-shadow);
}

.secondary-button,
.text-button,
.icon-button,
.legend-chip,
.create-button,
.user-chip a {
    cursor: pointer;
}

.secondary-button,
.select-control,
.text-button,
.icon-button {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--line);
    color: var(--text);
}

.secondary-button {
    height: 42px;
    padding: 8px 14px;
}

.secondary-button:hover,
.select-control:hover,
.icon-button:hover,
.text-button:hover,
.legend-chip:hover {
    background: #fffaf4;
    border-color: var(--line-strong);
}

.text-button {
    padding: 10px 14px;
}

.text-button.danger {
    color: #b2301c;
}

.icon-button {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    font-size: 22px;
}

.mobile-only {
    display: none;
}

.app-shell {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.topbar {
    min-height: var(--header-height);
    display: grid;
    grid-template-columns: minmax(190px, 0.85fr) minmax(260px, 1fr) minmax(360px, 1.35fr);
    gap: 12px;
    align-items: center;
    padding: 16px 20px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}

.brand-cluster,
.nav-cluster,
.actions-cluster {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.brand-cluster {
    min-width: 0;
}

.brand-logo {
    display: block;
    width: auto;
    max-width: min(100%, 210px);
    max-height: 54px;
    object-fit: contain;
}

.brand-cluster .brand-mark,
.brand-cluster .eyebrow,
.brand-cluster h1 {
    display: none;
}

.nav-cluster {
    justify-content: center;
}

.nav-arrows {
    display: flex;
    gap: 6px;
    flex: 0 0 auto;
}

.current-date {
    min-width: 0;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: clamp(18px, 1.5vw, 24px);
    text-align: center;
    font-weight: 600;
}

.actions-cluster {
    justify-content: flex-end;
    flex-wrap: wrap;
}

.search-box {
    flex: 1 1 210px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 180px;
    max-width: 320px;
    padding: 0 12px;
    height: 42px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.search-box:focus-within {
    background: #fff;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px var(--brand-shadow);
}

.search-box__icon {
    color: var(--muted);
    font-size: 18px;
}

.search-box input,
.field input,
.field textarea,
.field select,
.range-fields input,
.select-control {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text);
}

.select-control {
    flex: 0 0 108px;
    min-width: 108px;
    height: 42px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.78);
}

.user-chip {
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px 6px 12px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--line);
    border-radius: 999px;
    white-space: nowrap;
}

.user-chip span {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-chip a {
    color: var(--brand-strong);
    text-decoration: none;
    font-weight: 600;
}

.main-layout {
    display: grid;
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
    gap: 20px;
    margin-top: 20px;
    min-height: calc(100vh - 152px);
}

.sidebar,
.workspace-toolbar {
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.calendar-card {
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    /* Removed backdrop-filter to fix FullCalendar drag alignment */
}

.sidebar {
    border-radius: var(--radius-xl);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.create-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 18px;
    border: 1px solid var(--line-strong);
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, var(--brand-soft) 100%);
    box-shadow: 0 20px 32px var(--brand-shadow);
    border-radius: var(--radius-lg);
    font-weight: 600;
    color: var(--brand-strong);
}

.create-button:hover {
    transform: translateY(-1px);
}

.create-button__plus {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--brand-soft);
    color: var(--brand-strong);
    font-size: 24px;
}

.sidebar-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 18px;
}

.sidebar-card__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.sidebar-card__header h3 {
    margin: 0;
    font-size: 18px;
}

.sidebar-card__header p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.filter-stack {
    display: grid;
    gap: 10px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
}

.filter-option input {
    accent-color: var(--brand);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
}

.legend-dot.pessoal {
    background: #3d8bfd;
}

.legend-dot.trabalho {
    background: #ef8a32;
}

.legend-dot.urgente {
    background: #d64545;
}

.legend-dot.saude {
    background: #37a96b;
}

.legend-dot.lazer {
    background: #8b5cf6;
}

.shortcut-list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.8;
}

kbd {
    padding: 2px 8px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--text);
    font-size: 12px;
}

.workspace {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.workspace-toolbar {
    border-radius: 24px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.legend-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.legend-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.68);
    color: var(--text);
}

.legend-chip.active {
    background: var(--brand-soft);
    border-color: var(--line-strong);
    color: var(--brand-strong);
}

.range-fields {
    display: flex;
    gap: 12px;
}

.range-fields label {
    min-width: 124px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
}

.calendar-card {
    border-radius: 30px;
    padding: 22px;
    min-height: 0;
}

.calendar-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.calendar-card__top h3 {
    font-size: 24px;
}

.status-message {
    min-height: 22px;
    font-size: 14px;
    color: var(--muted);
}

.status-message.is-success {
    color: #227848;
}

.status-message.is-error {
    color: #b2301c;
}

.status-message.is-warn {
    color: #b45309;
}

.status-message.is-info {
    color: var(--brand-strong);
}

#calendar-container {
    min-height: 700px;
    position: relative;
}

.fc {
    height: 100%;
    color: var(--text);
}

.fc .fc-toolbar {
    display: none;
}

.fc-theme-standard .fc-scrollgrid,
.fc-theme-standard td,
.fc-theme-standard th {
    border-color: var(--line);
}

.fc .fc-col-header-cell {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.8);
    color: var(--muted);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.08em;
}

.fc .fc-daygrid-day-number,
.fc .fc-timegrid-axis-cushion,
.fc .fc-timegrid-slot-label-cushion {
    color: var(--muted);
}

.fc .fc-daygrid-day-number {
    width: 36px;
    height: 36px;
    margin: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
}

.fc .fc-day-today {
    background: var(--brand-soft) !important;
}

.fc .fc-day-today .fc-daygrid-day-number,
.fc .fc-timegrid-col.fc-day-today .fc-timegrid-col-frame {
    background: transparent;
}

.fc .fc-day-today .fc-daygrid-day-number {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-accent) 100%);
    color: #fff;
    box-shadow: 0 14px 24px var(--brand-shadow);
}

.fc-event {
    border: none;
    border-radius: 12px;
    padding: 4px 8px;
    font-size: 12px;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.1);
    cursor: grab;
}

.fc-event-dragging {
    cursor: grabbing !important;
    opacity: 0.8;
    z-index: 9999 !important;
}

.fc-daygrid-dot-event .fc-event-title {
    font-weight: 600;
}

.fc-v-event .fc-event-main {
    padding: 6px 8px;
}

.cat-pessoal {
    background: linear-gradient(135deg, #4a98ff 0%, #307cf0 100%) !important;
}

.cat-trabalho {
    background: linear-gradient(135deg, #ff9d4d 0%, #e97b1e 100%) !important;
}

.cat-urgente {
    background: linear-gradient(135deg, #ef6565 0%, #ce3a3a 100%) !important;
}

.cat-saude {
    background: linear-gradient(135deg, #4fc48a 0%, #2d9b61 100%) !important;
}

.cat-lazer {
    background: linear-gradient(135deg, #9b77ff 0%, #794ef1 100%) !important;
}

#mini-calendar {
    font-size: 0.74rem;
}

.mini-calendar-card {
    padding: 14px;
}

.mini-calendar-card .sidebar-card__header {
    margin-bottom: 8px;
}

.mini-calendar-card .sidebar-card__header h3 {
    font-size: 16px;
}

.mini-calendar-card .sidebar-card__header p {
    display: none;
}

#mini-calendar .fc-toolbar {
    display: flex !important;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px !important;
}

#mini-calendar .fc-toolbar-title {
    font-size: 0.82rem;
    font-weight: 700;
}

#mini-calendar .fc-button {
    width: 28px;
    height: 28px;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid var(--line) !important;
    color: var(--text) !important;
    padding: 0 !important;
    font-size: 0.75rem !important;
    line-height: 1 !important;
}

#mini-calendar .fc-col-header-cell-cushion {
    padding: 2px 0 !important;
    font-size: 0.68rem;
}

#mini-calendar .fc-daygrid-day-frame {
    min-height: 26px;
    padding: 0 !important;
}

#mini-calendar .fc-daygrid-day-number {
    width: 24px;
    height: 24px;
    margin: 0 auto;
    padding: 3px 0 !important;
    font-size: 0.72rem;
}

#mini-calendar .fc-scrollgrid-sync-table {
    height: auto !important;
}

#mini-calendar .fc-daygrid-body-unbalanced .fc-daygrid-day-events,
#mini-calendar .fc-daygrid-day-bottom {
    display: none;
}

.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(10px);
    z-index: 20;
}

.modal.is-open {
    display: flex;
}

.modal-dialog {
    width: min(100%, 720px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 30px;
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.2);
    transform: translateY(8px) scale(0.98);
    animation: modal-in 0.22s ease forwards;
}

@keyframes modal-in {
    to {
        transform: translateY(0) scale(1);
    }
}

.event-form {
    padding: 24px;
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.event-title-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: clamp(24px, 3vw, 32px);
    background: transparent;
    padding: 0;
    color: var(--text);
}

.modal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.full-width {
    grid-column: 1 / -1;
}

.field {
    padding: 12px 14px;
    border-radius: 18px;
    background: var(--surface-alt);
    border: 1px solid var(--line);
}

.field textarea {
    resize: vertical;
    min-height: 110px;
}

.checkbox-field {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-field input {
    width: auto;
    accent-color: var(--brand);
}

.inline-warning {
    margin-top: 18px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.is-hidden {
    display: none !important;
}

.modal-content {
    padding: 0 24px 24px;
}

.categories-list {
    display: grid;
    gap: 10px;
    margin-bottom: 24px;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: var(--surface-alt);
    border: 1px solid var(--line);
}

.category-color {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    flex-shrink: 0;
}

.category-label {
    font-weight: 600;
}

.category-name {
    color: var(--muted);
    font-size: 13px;
}

.category-actions {
    margin-left: auto;
    display: flex;
    gap: 8px;
}

.category-form-container {
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.category-form-container h3 {
    margin: 0 0 16px;
    font-size: 18px;
}

.event-tooltip {
    position: absolute;
    max-width: 260px;
    background: rgba(15, 23, 42, 0.94);
    color: #fff;
    padding: 12px 14px;
    border-radius: 16px;
    box-shadow: 0 24px 36px rgba(0, 0, 0, 0.22);
    z-index: 25;
    pointer-events: none;
}

.event-tooltip strong,
.event-tooltip span,
.event-tooltip p {
    display: block;
}

.event-tooltip span {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 12px;
}

.event-tooltip p {
    margin: 8px 0 0;
    line-height: 1.45;
    font-size: 13px;
}

@media (max-width: 1280px) {
    .topbar {
        grid-template-columns: minmax(220px, 0.75fr) minmax(360px, 1.25fr);
    }

    .brand-cluster {
        grid-column: 1;
    }

    .nav-cluster {
        grid-column: 1;
        justify-content: flex-start;
    }

    .actions-cluster {
        grid-column: 2;
        grid-row: 1 / span 2;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .search-box {
        min-width: 0;
        flex: 1 1 320px;
    }
}

@media (max-width: 1080px) {
    .mobile-only {
        display: grid;
    }

    .topbar {
        grid-template-columns: 1fr;
    }

    .brand-cluster,
    .nav-cluster,
    .actions-cluster {
        grid-column: auto;
        grid-row: auto;
    }

    .main-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: fixed;
        inset: 126px auto 20px 20px;
        width: min(92vw, 340px);
        max-height: calc(100vh - 146px);
        overflow: auto;
        transform: translateX(-120%);
        transition: transform 0.22s ease;
        z-index: 15;
    }

    .sidebar.is-open {
        transform: translateX(0);
    }
}

@media (max-width: 860px) {
    .app-shell {
        padding: 12px;
    }

    .topbar,
    .workspace-toolbar,
    .calendar-card,
    .sidebar,
    .login-card {
        border-radius: 22px;
    }

    .workspace-toolbar,
    .calendar-card__top,
    .modal-grid,
    .modal-footer {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .range-fields {
        flex-direction: column;
    }

    .modal {
        padding: 14px;
    }

    .event-form {
        padding: 18px;
    }

    .modal-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .modal-footer {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .modal-footer .primary-button {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .topbar {
        padding: 14px;
    }

    .brand-logo {
        max-width: min(100%, 170px);
        max-height: 46px;
    }

    .nav-cluster {
        flex-wrap: wrap;
    }

    .current-date {
        flex: 1 1 100%;
        order: 3;
        text-align: left;
    }

    .actions-cluster {
        align-items: stretch;
    }

    .search-box,
    .select-control {
        max-width: none;
        width: 100%;
    }

    .user-chip {
        justify-content: space-between;
        width: 100%;
    }

    .calendar-card {
        padding: 16px;
    }

    #calendar-container {
        min-height: 560px;
    }
}

.file-upload-container {
    position: relative;
    width: 100%;
}

.file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px;
    border: 2px dashed var(--line-strong);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.2s ease;
}

.file-upload-label:hover,
.file-input:focus + .file-upload-label {
    border-color: var(--brand);
    background: var(--brand-soft);
}

.upload-icon {
    font-size: 32px;
}

.upload-text {
    color: var(--muted);
    font-size: 14px;
}

.file-list {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.file-icon {
    font-size: 18px;
}

.file-name {
    font-size: 14px;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-link {
    color: var(--brand-strong);
    font-size: 14px;
    text-decoration: underline;
}

.file-remove {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.file-remove:hover {
    color: #b2301c;
}
