
.usuarios-container {
    padding: 20px;
}

/* Header */
.usuarios-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 15px;
}

.usuarios-header-info {
    flex: 1;
}

.usuarios-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 5px 0;
}

.usuarios-subtitle {
    color: #64748b;
    margin: 0;
    font-size: 0.875rem;
}

.usuarios-header-actions {
    flex-shrink: 0;
}

/* Card */
.usuarios-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

.usuarios-card-body {
    padding: 20px;
}

/* Tabla */
.usuarios-table {
    width: 100%;
    border-collapse: collapse;
}

.usuarios-table thead th {
    background: #f8fafc;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #1e293b;
    border-bottom: 2px solid #e2e8f0;
}

.usuarios-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
}

/* Modal */
.usuarios-modal-header {
    background: linear-gradient(135deg, #4361ee 0%, #3f37c9 100%);
    color: white;
    padding: 16px 20px;
    border-radius: 8px 8px 0 0;
}

.usuarios-modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.usuarios-modal-body {
    padding: 20px;
}

.usuarios-modal-footer {
    padding: 16px 20px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Formulario */
.usuarios-form {
    width: 100%;
}

.usuarios-form-group {
    margin-bottom: 20px;
}

.usuarios-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #1e293b;
    font-size: 0.875rem;
}

.usuarios-input,
.usuarios-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.usuarios-input:focus,
.usuarios-select:focus {
    outline: none;
    border-color: #4361ee;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.usuarios-help-text {
    display: block;
    margin-top: 5px;
    font-size: 0.75rem;
    color: #64748b;
}

/* Vista previa */
.usuarios-preview {
    background: #f1f5f9;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #1e293b;
    border-left: 3px solid #4361ee;
}

/* Grid */
.usuarios-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.usuarios-col-md-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 0 10px;
}

/* Botones */
.usuarios-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.usuarios-btn-primary {
    background: #4361ee;
    color: white;
}

.usuarios-btn-primary:hover {
    background: #3f37c9;
    transform: translateY(-1px);
}

.usuarios-btn-secondary {
    background: #e2e8f0;
    color: #1e293b;
}

.usuarios-btn-secondary:hover {
    background: #cbd5e1;
}

/* Badges */
.usuarios-badge-success {
    background: #10b981;
    color: white;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.usuarios-badge-danger {
    background: #ef4444;
    color: white;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Botones de acción en tabla */
.usuarios-action-btn {
    padding: 6px 10px;
    margin: 0 3px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.usuarios-action-edit {
    background: #f59e0b;
    color: white;
}

.usuarios-action-edit:hover {
    background: #d97706;
}

.usuarios-action-delete {
    background: #ef4444;
    color: white;
}

.usuarios-action-delete:hover {
    background: #dc2626;
}

/* Responsive */
@media (max-width: 768px) {
    .usuarios-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .usuarios-col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 15px;
    }
    
    .usuarios-row {
        flex-direction: column;
    }
    
    .usuarios-container {
        padding: 10px;
    }
    
    .usuarios-card-body {
        padding: 10px;
        overflow-x: auto;
    }
}
