:root {
    /* Tema MD3 - Verdinho, Preto e Branco */
    --md-sys-color-primary: #22c55e; /* Verdinho Vibrante */
    --md-sys-color-on-primary: #ffffff; /* Texto branco dentro do botão verde */
    
    --md-sys-color-primary-container: #dcfce7; /* Verdinho bem clarinho (fundo de destaque) */
    --md-sys-color-on-primary-container: #14532d; /* Verde bem escuro/preto para ler bem no fundo clarinho */
    
    --md-sys-color-secondary: #000000; /* Preto */
    --md-sys-color-on-secondary: #ffffff;
    
    --md-sys-color-secondary-container: #f9fafb; /* Branco gelo / Cinza claríssimo */
    --md-sys-color-on-secondary-container: #000000; /* Preto puro */
    
    --md-sys-color-error: #ef4444;
    --md-sys-color-on-error: #ffffff;
    --md-sys-color-error-container: #fee2e2;
    --md-sys-color-on-error-container: #7f1d1d;
    
    --md-sys-color-background: #ffffff; /* Fundo puro Branco */
    --md-sys-color-on-background: #000000; /* Texto puro Preto */
    
    --md-sys-color-surface: #ffffff; /* Superfícies puras Brancas */
    --md-sys-color-on-surface: #000000; /* Texto puramente Preto */
    
    --md-sys-color-surface-variant: #f3f4f6; /* Detalhes muito sutis de fundo (branco acinzentado) */
    --md-sys-color-on-surface-variant: #000000; /* Texto puramente Preto */
    
    --md-sys-color-outline: #e5e7eb; /* Bordas super claras e minimalistas */
    
    /* Cores Semânticas Customizadas */
    --color-success: #22c55e;
    --color-success-container: #dcfce7;
    --color-warning: #f97316;
    --color-warning-container: #ffedd5;

    /* Elevações */
    --md-elevation-1: 0px 1px 3px 1px rgba(0, 0, 0, 0.05), 0px 1px 2px 0px rgba(0, 0, 0, 0.1);
    --md-elevation-2: 0px 2px 6px 2px rgba(0, 0, 0, 0.05), 0px 1px 2px 0px rgba(0, 0, 0, 0.1);
    
    /* Formatos (Bordas) */
    --md-shape-small: 8px;
    --md-shape-medium: 12px;
    --md-shape-large: 16px;
    --md-shape-extra-large: 28px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: radial-gradient(circle at top left, rgba(34,197,94,0.12), transparent 28%), radial-gradient(circle at bottom right, rgba(16,185,129,0.08), transparent 28%), #f8fbf6;
    color: var(--md-sys-color-on-background);
    min-height: 100vh;
    transition: background 0.3s, color 0.3s;
    overflow-x: hidden;
}

/* Material Symbols Adjustments */
.material-symbols-rounded {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    display: inline-block;
    vertical-align: middle;
}

.text-success { color: var(--color-success); }
.text-warning { color: var(--color-warning); }

/* --- App Bar --- */
.app-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    color: var(--md-sys-color-on-surface);
    padding: 20px 20px 24px 20px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    border-bottom-left-radius: calc(var(--md-shape-extra-large) * 1.15);
    border-bottom-right-radius: calc(var(--md-shape-extra-large) * 1.15);
    border: 1px solid rgba(34, 197, 94, 0.12);
    backdrop-filter: blur(12px);
    max-width: 640px;
    margin: 0 auto 24px;
}

.top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--md-sys-color-primary);
}

.app-bar .logo-area {
    flex: 1;
    justify-content: center;
}

.logo-area img.app-logo {
    width: 200px;
    max-height: 200px;
    height: auto;
    display: block;
}

.logo-area h1 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.15px;
    color: var(--md-sys-color-on-background);
}

.actions {
    display: flex;
    gap: 8px;
}

.icon-button {
    background: rgba(34, 197, 94, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.1);
    color: var(--md-sys-color-on-surface-variant);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s, border-color 0.2s;
}

.icon-button:hover {
    background-color: rgba(34, 197, 94, 0.12);
}

.icon-button:active {
    background-color: var(--md-sys-color-surface-variant);
}

/* --- Summary Cards --- */
.summary-cards {
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.summary-card {
    flex: 1;
    background-color: var(--md-sys-color-surface-variant);
    padding: 12px 8px;
    border-radius: var(--md-shape-large);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.summary-card.highlight {
    background-color: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-on-primary-container);
}

.summary-card .label {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-card .value {
    font-size: 16px;
    font-weight: 700;
}

/* --- Main Content --- */
.content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Cards & Forms --- */
.card {
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(14, 128, 70, 0.08);
    border-radius: var(--md-shape-extra-large);
    padding: 26px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
}

.form-section h2 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--md-sys-color-primary);
}

form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-row {
    display: flex;
    gap: 16px;
}

.input-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 4px;
}

.input-group label {
    font-size: 12px;
    color: var(--md-sys-color-on-surface-variant);
    padding-left: 16px;
}

input[type="text"], 
input[type="number"], 
input[type="email"], 
input[type="password"] {
    width: 100%;
    height: 56px; /* MD3 standard input height */
    padding: 0 16px;
    border: 1px solid var(--md-sys-color-outline);
    border-radius: var(--md-shape-small); /* MD3 outlined text fields use 4-8px radius */
    background-color: var(--md-sys-color-surface);
    color: var(--md-sys-color-on-surface);
    font-size: 16px;
    transition: border-color 0.2s, border-width 0.2s;
}

.password-input-wrapper {
    position: relative;
}

.password-input-wrapper input {
    padding-right: 52px;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: var(--md-sys-color-on-surface-variant);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.password-toggle:hover {
    background-color: rgba(34, 197, 94, 0.12);
}

.password-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.password-input-wrapper {
    position: relative;
    width: 100%;
}

.password-input-wrapper input {
    padding-right: 52px;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: var(--md-sys-color-on-surface-variant);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.password-toggle:hover {
    background-color: rgba(34, 197, 94, 0.12);
}

.password-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

input:focus {
    outline: none;
    border: 2px solid var(--md-sys-color-primary);
    padding: 0 15px; /* Compensa a borda de 2px */
}

/* --- Buttons --- */
.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.btn-primary {
    flex: 1;
    height: 52px;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    color: var(--md-sys-color-on-primary);
    border: none;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 18px 40px rgba(34, 197, 94, 0.18);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 44px rgba(34, 197, 94, 0.22);
}

.btn-primary:active {
    transform: translateY(0);
    background: linear-gradient(135deg, #15803d 0%, #16a34a 100%);
    color: var(--md-sys-color-on-primary);
}

.btn-primary:disabled {
    background-color: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-on-primary-container);
}

.btn-primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-primary.compact {
    flex: 0 0 auto;
    min-width: 128px;
    padding: 0 18px;
}

.btn-text {
    flex: 1;
    height: 48px;
    background-color: rgba(34, 197, 94, 0.08);
    color: var(--md-sys-color-primary);
    border: 1px solid rgba(34, 197, 94, 0.14);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-text:hover {
    background-color: rgba(34, 197, 94, 0.14);
    transform: translateY(-1px);
}

.btn-error {
    flex: 1;
    height: 48px;
    background-color: var(--md-sys-color-error);
    color: var(--md-sys-color-on-error);
    border: none;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

/* --- Tools (Busca e Filtro) --- */
.tools-section {
    display: flex;
    gap: 12px;
}

.bulk-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--md-sys-color-outline);
    border-radius: var(--md-shape-large);
    background-color: var(--md-sys-color-surface);
}

.bulk-selection {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--md-sys-color-on-surface-variant);
    font-size: 14px;
    font-weight: 500;
}

.search-box {
    position: relative;
    flex: 1;
}

.search-box input {
    width: 100%;
    height: 54px;
    border-radius: 100px;
    padding-left: 54px;
    border: 1px solid rgba(14, 165, 90, 0.18);
    background-color: var(--md-sys-color-surface);
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.search-box .material-symbols-rounded {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--md-sys-color-on-surface-variant);
}

/* --- Listas --- */
.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1px;
    color: var(--md-sys-color-on-surface-variant);
}

.badge {
    background-color: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-on-primary-container);
    padding: 2px 8px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-card {
    background-color: var(--md-sys-color-surface-variant);
    padding: 16px;
    border-radius: var(--md-shape-large);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.2s, opacity 0.2s, background-color 0.2s;
    min-width: 0;
}

.product-card-row {
    display: grid;
    grid-template-columns: 30px 1fr;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
}

.product-card-info-inline {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 5px;
    min-width: 0;
    overflow: hidden;
}

.product-card-info-inline .product-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex-shrink: 1;
}

.product-card-info-inline .product-details {
    white-space: nowrap;
    flex-shrink: 0;
}

.product-card.selected {
    outline: 2px solid var(--md-sys-color-primary);
    background-color: var(--md-sys-color-primary-container);
}

.product-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.product-checkbox-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-select {
    position: relative;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid var(--md-sys-color-outline);
    background-color: var(--md-sys-color-surface);
    color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
}

.product-select:hover {
    border-color: var(--md-sys-color-primary);
    background-color: rgba(34, 197, 94, 0.08);
}

.product-select input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.product-select.checked {
    border-color: var(--md-sys-color-primary);
    background-color: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
}

.product-select .material-symbols-rounded {
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow: hidden;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--md-sys-color-on-surface);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex-shrink: 1;
    text-transform: capitalize;
}

.product-details {
    font-size: 13px;
    color: var(--md-sys-color-on-surface-variant);
    white-space: nowrap;
    flex-shrink: 0;
}

.product-total {
    font-size: 16px;
    font-weight: 700;
    color: var(--md-sys-color-primary);
    flex-shrink: 0;
    white-space: nowrap;
}

.product-actions {
    display: flex;
    gap: 8px;
    justify-content: space-between;
    align-items: center;
    padding-top: 4px;
    width: 100%;
    border-top: 1px solid rgba(34, 197, 94, 0.08);
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--md-shape-small);
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--md-sys-color-on-surface-variant);
    box-shadow: none;
    transition: all 0.2s ease;
    font-size: 20px;
}

.action-btn:hover {
    background-color: rgba(0, 0, 0, 0.04);
    transform: scale(1.05);
}

.action-btn:active {
    transform: scale(0.96);
}

.action-btn.edit {
    color: var(--md-sys-color-primary);
}

.action-btn.edit:hover {
    background-color: var(--md-sys-color-primary-container);
}

.action-btn.delete {
    color: var(--md-sys-color-error);
}

.action-btn.delete:hover {
    background-color: var(--md-sys-color-error-container);
}

.action-btn.buy {
    color: var(--color-success);
}

.action-btn.buy:hover {
    background-color: var(--color-success-container);
}

.action-btn.undo {
    color: var(--md-sys-color-secondary);
}

.action-btn.undo:hover {
    background-color: var(--md-sys-color-secondary-container);
}

/* --- Comprados --- */
.bought-list .product-card {
    background-color: var(--md-sys-color-surface);
    border: 1px solid var(--md-sys-color-outline);
    opacity: 0.7;
}

.bought-list .product-name {
    text-decoration: line-through;
}

.bought-list .product-total {
    color: var(--md-sys-color-on-surface-variant);
}

/* --- Dialog Modal --- */
.dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 24px;
}

.dialog {
    background: var(--md-sys-color-surface);
    padding: 24px;
    border-radius: var(--md-shape-extra-large);
    width: 100%;
    max-width: 320px;
    box-shadow: var(--md-elevation-2);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dialog-icon {
    color: var(--md-sys-color-error);
    font-size: 24px;
}

.dialog-title {
    font-size: 24px;
    font-weight: 400;
    color: var(--md-sys-color-on-surface);
}

.dialog-message {
    font-size: 14px;
    color: var(--md-sys-color-on-surface-variant);
}

.dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* --- Toasts --- */
.toast-container {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2000;
    width: calc(100% - 32px);
    max-width: 400px;
    pointer-events: none;
}

.toast {
    background: var(--md-sys-color-on-surface);
    color: var(--md-sys-color-surface);
    padding: 14px 16px;
    border-radius: var(--md-shape-small);
    font-size: 14px;
    box-shadow: var(--md-elevation-1);
    animation: fadein 0.3s, fadeout 0.3s 2.7s;
}

@keyframes fadein { from { bottom: 0; opacity: 0; } to { bottom: 24px; opacity: 1; } }
@keyframes fadeout { from { opacity: 1; } to { opacity: 0; } }

.hidden { display: none !important; }

/* Alert Offline */
.alert {
    background-color: var(--color-warning-container);
    color: var(--color-warning);
    padding: 12px 16px;
    border-radius: var(--md-shape-medium);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
}

/* Auth View */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background-color: var(--md-sys-color-background);
}
.auth-card {
    width: 100%;
    max-width: 400px;
    padding: 32px 40px;
    border: none; /* Cartão elevado clássico do MD3 não tem borda */
    box-shadow: var(--md-elevation-2); /* Sombra suave para destacar do fundo */
    border-radius: var(--md-shape-extra-large); /* Bordas mais redondas para MD3 modals */
}

.auth-subtitle {
    font-size: 14px;
    color: var(--md-sys-color-on-surface-variant);
    margin-bottom: 20px;
    line-height: 1.5;
}

.auth-feedback {
    margin-top: 16px;
    font-size: 14px;
    color: var(--md-sys-color-error);
    text-align: center;
    line-height: 1.4;
}

.auth-feedback.visible {
    display: block;
}

.btn-link {
    font-size: 13px;
    padding: 4px 8px;
    width: auto;
}

.forgot-password-row {
    text-align: center;
    margin-top: 16px;
}

.forgot-password-message {
    font-size: 14px;
    color: var(--md-sys-color-on-surface-variant);
    line-height: 1.5;
    margin: 0;
}

.forgot-password-link {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--md-sys-color-primary);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.forgot-password-link:hover {
    color: #16a34a;
}

@media (max-width: 768px) {
    .auth-container {
        align-items: flex-start;
        padding: 16px 24px 24px;
    }

    .auth-card {
        padding: 24px;
    }
}

/* Utils */
.empty-state {
    padding: 32px 16px;
    text-align: center;
    color: var(--md-sys-color-on-surface-variant);
    font-size: 14px;
    font-style: italic;
}

/* --- Paginação --- */
.pagination-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
    padding-top: 12px;
}

.pagination-button {
    background: linear-gradient(135deg, rgba(34,197,94,0.12), rgba(34,197,94,0.18));
    border: 1px solid rgba(34,197,94,0.2);
    color: var(--md-sys-color-primary);
    border-radius: 999px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.pagination-button:hover:not(:disabled) {
    transform: translateY(-1px);
}

.pagination-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.pagination-info {
    color: var(--md-sys-color-on-surface-variant);
    font-size: 14px;
    font-weight: 600;
}

/* --- History Accordion --- */
.history-month {
    background-color: var(--md-sys-color-surface);
    border-radius: var(--md-shape-large);
    margin-bottom: 16px;
    box-shadow: var(--md-elevation-1);
    overflow: hidden;
}

.history-month-header {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-on-primary-container);
    font-weight: 500;
    transition: background-color 0.2s;
}

.history-month-header:active {
    background-color: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
}

.history-month-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.history-month.open .history-month-body {
    max-height: 2000px; /* Suficiente para animar */
}

.history-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--md-sys-color-outline);
    font-size: 14px;
}

.history-item:last-child {
    border-bottom: none;
}

.history-item-details {
    display: flex;
    flex-direction: column;
}

.history-item-date {
    font-size: 12px;
    color: var(--md-sys-color-on-surface-variant);
    margin-top: 4px;
}

/* --- Tabs --- */
.tabs-container {
    display: flex;
    margin-bottom: 16px;
    border-radius: var(--md-shape-large);
    background-color: rgba(34, 197, 94, 0.08);
    overflow: hidden;
}

.tab {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    cursor: pointer;
    font-weight: 600;
    color: var(--md-sys-color-on-surface-variant);
    transition: all 0.2s;
}

.tab:hover {
    background-color: rgba(34, 197, 94, 0.12);
}

.tab.active {
    color: var(--md-sys-color-primary);
    background-color: rgba(34, 197, 94, 0.12);
    box-shadow: inset 0 -3px 0 0 var(--md-sys-color-primary);
}

.bought-list .product-card {
    opacity: 0.6;
    transition: opacity 0.3s;
}

/* --- List Cards --- */
.month-group {
    margin-bottom: 24px;
}

.month-group-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--md-sys-color-on-surface-variant);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 24px 0 12px;
    padding-left: 4px;
}

.list-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
    margin-bottom: 14px;
    background-color: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(14, 165, 90, 0.16);
    border-radius: var(--md-shape-large);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.list-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 36px rgba(15, 23, 42, 0.08);
}

.list-card:active {
    transform: scale(0.98);
    box-shadow: var(--md-elevation-2);
}

.list-card-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.list-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-on-primary-container);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.list-card-text {
    flex: 1;
    min-width: 0;
}

.list-card-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--md-sys-color-on-surface);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.list-card-meta {
    font-size: 13px;
    color: var(--md-sys-color-on-surface-variant);
    margin-top: 4px;
}

.list-card-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--md-sys-color-primary);
    white-space: nowrap;
    padding-left: 12px;
}

.list-card-delete {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--md-sys-color-error);
    padding: 8px;
    margin-left: 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
}
