.sfs-app {
    max-width: 1100px;
    margin: 24px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.sfs-login-wrap,
.sfs-card,
.sfs-modal-content {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.sfs-login-wrap {
    max-width: 420px;
    margin: 32px auto;
}

.sfs-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.sfs-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sfs-form {
    display: grid;
    gap: 12px;
}

.sfs-form label {
    display: grid;
    gap: 6px;
    font-weight: 600;
}

.sfs-form input,
.sfs-form select {
    border: 1px solid #8c8f94;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 14px;
}

.sfs-table {
    width: 100%;
    border-collapse: collapse;
}

.sfs-table th,
.sfs-table td {
    border-bottom: 1px solid #f0f0f1;
    text-align: left;
    padding: 10px;
    vertical-align: middle;
}

.sfs-table th {
    background: #f6f7f7;
}

.sfs-actions {
    white-space: nowrap;
}

.sfs-alert {
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 12px;
}

.sfs-alert-error {
    background: #fcf0f1;
    border: 1px solid #f3c4c8;
    color: #8a2424;
}

.sfs-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 16px;
}

.sfs-modal[hidden] {
    display: none;
}

.sfs-modal-content {
    width: 100%;
    max-width: 520px;
}

.sfs-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}
