/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-jzxqgy3llj] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-jzxqgy3llj] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-lpyn2murkj],
.components-reconnect-repeated-attempt-visible[b-lpyn2murkj],
.components-reconnect-failed-visible[b-lpyn2murkj],
.components-pause-visible[b-lpyn2murkj],
.components-resume-failed-visible[b-lpyn2murkj],
.components-rejoining-animation[b-lpyn2murkj] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-lpyn2murkj],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-lpyn2murkj],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-lpyn2murkj],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-lpyn2murkj],
#components-reconnect-modal.components-reconnect-retrying[b-lpyn2murkj],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-lpyn2murkj],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-lpyn2murkj],
#components-reconnect-modal.components-reconnect-failed[b-lpyn2murkj],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-lpyn2murkj] {
    display: block;
}


#components-reconnect-modal[b-lpyn2murkj] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-lpyn2murkj 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-lpyn2murkj 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-lpyn2murkj 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-lpyn2murkj]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-lpyn2murkj 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-lpyn2murkj {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-lpyn2murkj {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-lpyn2murkj {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-lpyn2murkj] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-lpyn2murkj] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-lpyn2murkj] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-lpyn2murkj] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-lpyn2murkj] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-lpyn2murkj] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-lpyn2murkj] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-lpyn2murkj 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-lpyn2murkj] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-lpyn2murkj {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Admin/Configuracoes.razor.rz.scp.css */
/* Admin Configurations Container */
.admin-container[b-4dkyej7dib] {
    max-width: 1400px;
    margin: 30px auto;
    padding: 0 30px;
    font-family: 'Inter', sans-serif;
    color: #0f172a;
}

/* Page Header */
.admin-header[b-4dkyej7dib] {
    margin-bottom: 24px;
}

.admin-title[b-4dkyej7dib] {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.admin-subtitle[b-4dkyej7dib] {
    font-size: 14px;
    color: #64748b;
}

/* Tabs Bar */
.tabs-bar[b-4dkyej7dib] {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 30px;
    gap: 8px;
}

.tab-btn[b-4dkyej7dib] {
    background: none;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover[b-4dkyej7dib] {
    color: #2563eb;
}

.tab-btn.active[b-4dkyej7dib] {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

/* Common Layout Grids */
.admin-grid-2[b-4dkyej7dib] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

@media (max-width: 1024px) {
    .admin-grid-2[b-4dkyej7dib] {
        grid-template-columns: 1fr;
    }
}

/* Cards style */
.admin-card[b-4dkyej7dib] {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.card-title[b-4dkyej7dib] {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Form Styles */
.form-group[b-4dkyej7dib] {
    margin-bottom: 16px;
}

.form-label[b-4dkyej7dib] {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control[b-4dkyej7dib] {
    width: 100%;
    height: 42px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 14px;
    transition: all 0.15s ease-in-out;
    background-color: #f8fafc;
}

.form-control:focus[b-4dkyej7dib] {
    outline: none;
    border-color: #2563eb;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Buttons style */
.btn-primary[b-4dkyej7dib] {
    height: 42px;
    background-color: #2563eb;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    border: none;
    border-radius: 8px;
    padding: 0 20px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover[b-4dkyej7dib] {
    background-color: #1d4ed8;
}

.btn-primary:disabled[b-4dkyej7dib] {
    background-color: #94a3b8;
    cursor: not-allowed;
}

.btn-secondary[b-4dkyej7dib] {
    height: 42px;
    background-color: #f1f5f9;
    color: #334155;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0 20px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary:hover[b-4dkyej7dib] {
    background-color: #e2e8f0;
}

.btn-danger-outline[b-4dkyej7dib] {
    height: 32px;
    background: none;
    border: 1px solid #ef4444;
    color: #ef4444;
    border-radius: 6px;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-danger-outline:hover:not(:disabled)[b-4dkyej7dib] {
    background-color: #fee2e2;
}

.btn-danger-outline:disabled[b-4dkyej7dib] {
    border-color: #f87171;
    color: #f87171;
    opacity: 0.5;
    cursor: not-allowed;
}

/* Banner Alert */
.period-banner[b-4dkyej7dib] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 16px 24px;
    margin-bottom: 24px;
    gap: 16px;
}

@media (max-width: 768px) {
    .period-banner[b-4dkyej7dib] {
        flex-direction: column;
        align-items: flex-start;
    }
}

.period-info-title[b-4dkyej7dib] {
    font-weight: 700;
    font-size: 16px;
    color: #1e3a8a;
    margin-bottom: 4px;
}

.period-info-desc[b-4dkyej7dib] {
    font-size: 13px;
    color: #1e40af;
}

.btn-finalize[b-4dkyej7dib] {
    background-color: #7c3aed;
    color: #ffffff;
    border: none;
    height: 42px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-finalize:hover[b-4dkyej7dib] {
    background-color: #6d28d9;
}

/* Scales Grid Section */
.scales-section-title[b-4dkyej7dib] {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #0f172a;
}

.scales-grid[b-4dkyej7dib] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.scale-card[b-4dkyej7dib] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

.scale-card-header[b-4dkyej7dib] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.scale-card-date[b-4dkyej7dib] {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.scale-card-obs[b-4dkyej7dib] {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    margin-top: 2px;
}

.scale-card-stats[b-4dkyej7dib] {
    background: #f8fafc;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 12px;
}

.stat-row[b-4dkyej7dib] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.stat-row:last-child[b-4dkyej7dib] {
    margin-bottom: 0;
}

.stat-label[b-4dkyej7dib] {
    color: #475569;
    font-weight: 500;
}

.stat-val[b-4dkyej7dib] {
    font-weight: 700;
    color: #0f172a;
}

/* Progress Bar */
.mini-progress-container[b-4dkyej7dib] {
    width: 100%;
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 4px;
}

.mini-progress-fill[b-4dkyej7dib] {
    height: 100%;
    background-color: #2563eb;
    border-radius: 3px;
}

.mini-progress-fill.full[b-4dkyej7dib] {
    background-color: #10b981;
}

/* Collapsible list of volunteers */
.volunteers-toggle[b-4dkyej7dib] {
    background: none;
    border: none;
    padding: 6px 0;
    font-size: 12px;
    font-weight: 600;
    color: #2563eb;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
}

.volunteers-list[b-4dkyej7dib] {
    border-top: 1px solid #f1f5f9;
    padding-top: 8px;
    margin-top: 4px;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 120px;
    overflow-y: auto;
}

.volunteer-item[b-4dkyej7dib] {
    display: flex;
    justify-content: space-between;
    color: #334155;
}

.gender-badge[b-4dkyej7dib] {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
}

.gender-badge.m[b-4dkyej7dib] {
    background-color: #e0f2fe;
    color: #0369a1;
}

.gender-badge.f[b-4dkyej7dib] {
    background-color: #fce7f3;
    color: #be185d;
}

/* Trash bin icon button */
.btn-delete-scale[b-4dkyej7dib] {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: background-color 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-delete-scale:hover:not(:disabled)[b-4dkyej7dib] {
    background-color: #fee2e2;
}

.btn-delete-scale:disabled[b-4dkyej7dib] {
    color: #cbd5e1;
    cursor: not-allowed;
}

/* User management Table styles */
.search-row[b-4dkyej7dib] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 16px;
}

@media (max-width: 768px) {
    .search-row[b-4dkyej7dib] {
        flex-direction: column;
        align-items: stretch;
    }
}

.search-input-wrapper[b-4dkyej7dib] {
    position: relative;
    flex: 1;
}

.search-input-icon[b-4dkyej7dib] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.search-input[b-4dkyej7dib] {
    padding-left: 38px;
}

.filter-group[b-4dkyej7dib] {
    display: flex;
    gap: 6px;
}

.btn-filter[b-4dkyej7dib] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0 16px;
    height: 42px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-filter:hover[b-4dkyej7dib] {
    background-color: #f8fafc;
}

.btn-filter.active[b-4dkyej7dib] {
    background-color: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

/* Table */
.table-responsive[b-4dkyej7dib] {
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.admin-table[b-4dkyej7dib] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
    background-color: #ffffff;
}

.admin-table th[b-4dkyej7dib] {
    background-color: #f8fafc;
    color: #475569;
    font-weight: 600;
    padding: 14px 16px;
    border-bottom: 1px solid #e2e8f0;
}

.admin-table td[b-4dkyej7dib] {
    padding: 14px 16px;
    border-bottom: 1px solid #e2e8f0;
    color: #0f172a;
    vertical-align: middle;
}

.admin-table tr:last-child td[b-4dkyej7dib] {
    border-bottom: none;
}

/* Status Badges */
.status-badge[b-4dkyej7dib] {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.status-badge.active[b-4dkyej7dib] {
    background-color: #d1fae5;
    color: #065f46;
}

.status-badge.inactive[b-4dkyej7dib] {
    background-color: #f1f5f9;
    color: #475569;
}

/* Toggle Switch Styles */
.switch[b-4dkyej7dib] {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input[b-4dkyej7dib] {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider[b-4dkyej7dib] {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .2s;
    border-radius: 24px;
}

.slider[b-4dkyej7dib]:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .2s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

input:checked + .slider[b-4dkyej7dib] {
    background-color: #10b981;
}

input:checked + .slider[b-4dkyej7dib]:before {
    transform: translateX(20px);
}

/* Limit Input */
.limit-input[b-4dkyej7dib] {
    width: 65px;
    height: 32px;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    font-weight: 600;
    text-align: center;
}

/* Table Footer */
.table-footer[b-4dkyej7dib] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    font-size: 12px;
    color: #475569;
}

/* Templates layout */
.template-item-card[b-4dkyej7dib] {
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.15s;
}

.template-item-card:hover[b-4dkyej7dib] {
    border-color: #2563eb;
    background-color: #f8fafc;
}

.template-item-card.selected[b-4dkyej7dib] {
    border-color: #2563eb;
    background-color: #eff6ff;
}

.template-name[b-4dkyej7dib] {
    font-weight: 700;
    font-size: 14px;
    color: #0f172a;
}

.template-desc[b-4dkyej7dib] {
    font-size: 11px;
    color: #64748b;
    margin-top: 4px;
}

/* Inner Template Items Table */
.items-table[b-4dkyej7dib] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    margin: 12px 0;
}

.items-table th[b-4dkyej7dib] {
    padding: 8px;
    border-bottom: 1px solid #cbd5e1;
    background-color: #f1f5f9;
    text-align: left;
    color: #475569;
}

.items-table td[b-4dkyej7dib] {
    padding: 8px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.btn-add-item[b-4dkyej7dib] {
    width: 100%;
    height: 38px;
    background: none;
    border: 1px dashed #2563eb;
    color: #2563eb;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-add-item:hover[b-4dkyej7dib] {
    background-color: #eff6ff;
}

/* Small delete button for rows */
.btn-row-action[b-4dkyej7dib] {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.15s;
}

.btn-row-action:hover[b-4dkyej7dib] {
    background-color: #fee2e2;
}

/* Modal and feedback */
.admin-feedback[b-4dkyej7dib] {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.admin-feedback.success[b-4dkyej7dib] {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.admin-feedback.error[b-4dkyej7dib] {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* Styles moved to app.css to ensure global bundling */
