spinner-border-sm {
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
}

.d-none {
    display: none !important;
}

#dni-message {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.text-danger {
    color: #dc3545;
}

.text-success {
    color: #28a745;
}

.text-muted {
    color: #6c757d;
}

[data-attach-loading].loading {
    position: relative;
    color: transparent;
}

[data-attach-loading].loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-top: -8px;
    margin-left: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

.loading-indicator {
    //display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
    font-size: 0.875em;
    color: #666;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #007bff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.alert {
    padding: 10px;
    border-radius: 4px;
    margin-top: 5px;
}

.alert-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
}

.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}
